eclipse 启动项目 报错 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLis(亲测)

时间:2023-03-08 19:49:29
eclipse 启动项目 报错 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLis(亲测)

【原因】

重新 clean  和  install 了maven项目后就启动报错了。解决如下:

右键项目:

属性properties

删除掉引用的其他jar

选择 Deployment Assembly”   》Java Build Path Entries 》Maven Depedencies”

重启tomcat即可。

来自:https://blog.csdn.net/john1337/article/details/52044855