maven+spring 项目 org.springframework.web.context.ContextLoaderListener报错ClassNotFound

这个问题在网上的资料一般都是按照以下步骤执行就可以了,如https://blog.csdn.net/u013533380/article/details/75948541

如果项目是Maven项目,且使用的是eclipse,出现以上问题,右键项目,点击最后一项properties,找到Deployment Assemby,点击右侧的Add,然后选择Java Build Path Entries,选择Maven Dependencies,最后Finish完成即可。如果已经存在了Maven Dependencies,remove,然后重新添加即可。
但是我的项目按照以上步骤做完,然后clean,刷新项目还是不行。

最后在在java build path 里把Maven Dependencies 和JRE System Library 勾上,重启服务即可。

maven+spring 项目 org.springframework.web.context.ContextLoaderListener报错ClassNotFound_第1张图片

你可能感兴趣的:(maven+spring 项目 org.springframework.web.context.ContextLoaderListener报错ClassNotFound)