maven项目启动报找不到org.springframework.web.context.ContextLoaderListener spring监听器
笔者在使用两个开发工具开发同一个项目时,乱捣鼓后,发现项目启动失败,报classNotFoundException错误,原因是在使用idea导项目时,把项目的依赖导没了.解决方法:1.选中项目,右键选中配置properties;2.选择Deployment Assembly ,3.添加java Build Path Entries;4.选择maven dependencies ...
原创
2018-12-13 11:06:41 ·
806 阅读 ·
0 评论