解决Tomcat启动时报org.springframework.web.context.ContextLoaderListener

项目为maven+spring+springmvc+mybatis
由于某一个操作,
解决Tomcat启动时报org.springframework.web.context.ContextLoaderListener
解决Tomcat启动时报org.springframework.web.context.ContextLoaderListener
我就是做了这个操作之后发现启动项目tomcat报错:org.springframework.web.context.ContextLoaderListener,
首先我分析,是不是maven依赖没有下载全,结果真的是少spring-context,然后改了一下pom保存一下,maven clean一下,但是指clean就好.
还有一个我是发现没有下载依赖时,粗鲁的把maven的依赖全部删掉,结果还是报错,然后解决是:
右键项目选择
解决Tomcat启动时报org.springframework.web.context.ContextLoaderListener
然后解决Tomcat启动时报org.springframework.web.context.ContextLoaderListener
解决Tomcat启动时报org.springframework.web.context.ContextLoaderListener
将工程的依赖配置添加进去.然后就ok了.