您的位置:首页 > 编程语言 > Java开发

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

2017-07-18 20:24 441 查看

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

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


解决方法

右键点击项目–选择Properties,选择Deployment Assembly,在右边点击Add按钮,在弹出的窗口中选择Java Build Path Entries

点击Next,选择Maven Dependencies

点击Finish,然后可以看到已经把Maven Dependencies添加到Web应用结构中
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  eclipse tomcat spring
相关文章推荐