intellij idea maven spring mvc 项目tomcat 启动 报错 加载不到spring 的类问题

1. 首先检查 file -> Project Structure -> Artifacts 选择发布的web项目

intellij idea maven spring mvc 项目tomcat 启动 报错 加载不到spring 的类问题  

如果不存在则进行如下操作 put into Output Root 重启tomcat 即可

intellij idea maven spring mvc 项目tomcat 启动 报错 加载不到spring 的类问题