java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
-
spring-web 的jar包没导进去
-
jar包邮冲突,把重复的jar包删除
-
在web.xml加上<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext-*.xml</param-value>
</context-param>
4、解决方法:缺少Maven依赖,pom.xml加载以后,记得添加上依赖包。以下是详细步骤:
在工程名字上右键properties--deployment--add--java build path entries--maven dependencies。
至此我的问题解决。