java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

来源:互联网 发布:linux 配置反向dns 编辑:程序博客网 时间:2024/06/07 08:29

Maven项目部署到Tomcat报错后启动报错

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

解决方法

  1. 右键点击项目–选择Properties,选择Deployment Assembly,在右边点击Add按钮,在弹出的窗口中选择Java Build Path Entries
  2. 点击Next,选择Maven Dependencies
  3. 点击Finish,然后可以看到已经把Maven Dependencies添加到Web应用结构中
阅读全文
0 0