org.springframework.web.context.ContextLoaderListener解决方案
起因:
由于eclipse软件及相关插件重装导致原先写的一个SSM整合项目无法运行,控制台报错:
java.lang.ClassNotFoundException:
org.springframework.web.context.ContextLoaderListener
该项目使用maven构建,检查发现maven库中未同步相关的依赖包
解决办法:
打开项目属性(右击项目选择Properties )->Deployment Assembly->Add->Java Build Path Entries->maven