SHH框架工程,Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误 1.查看配置文件web.xml中是否配置.org.springframework.web.context.ContextLoaderListener在web.xml配置文件中已经配置 2.查看工程是否添加此jar包,org.springframework.web.context.ContextLoaderListener的jar包为spring…
tomcat报错org.springframework.web.context.ContextLoaderListener找不到. 最后解决办法:将jar包copy到web-inf下面的lib中. 你可以在web app libary是不是空,或者点不开. 引用网友的: http://topic.csdn.net/u/20090216/19/3c955432-e708-4338-961f-8db9db7f5df1.html 可能是jar包位置导致的. Java虚拟机是根据Java ClassLo…
是因为在导入的jar包中缺少了一个 org.springframework.web_3.1.4.release.jar 在网上下载即可 下载地址: http://www.java2s.com/Code/Jar/o/Downloadorgspringframeworkweb314releasejar.htm…
在使用eclipse进行整合springmvc时经常会碰到这样的异常: java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener 这时里的意思是说找不到jar包,如果使用的是maven管理jar包,会发现jar包明明已经有了,但还是报错:如果mvn package生成一个war包发布到tomcat下面会发现,其实项目是没问题的. 1.出现这个问题的原因有可能的其中一点就是sprin…
Web容器在启动时加载 spring 配置文件时解析xml失败常常引起容器启动失败.这次配置文件是 ibatis的sql脚本出了问题: Context initialization failed org.springframework. beans.factory. BeanCreationException:Error creating bean with name 'wlfDao' defined in file [applicationContext-wlf.xml]: Cannot re…
在web.xml中配置 <listener>    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener> ContextLoaderListener的作用就是启动Web容器时,自动装配ApplicationContext.xml的配置信息.因为它实现了ServletContextListener这个接口,在web.xm…
maven项目启动tomcat报错: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 错误原因: tomcat在发布项目的时候没有同事发布maven依赖所添加的jar包,tomcat找到需要的jar包,所以报了上述错误. 解决办法: 将maven依赖包添加到tomcat发布配置中. eclipse中的配置方法: 选中项目,右击项目->Properties ->Depl…
1.错误信息: 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.…
1.这种错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener刚开始看的时候一头雾水,说找不到类,而且是springframework包里面的. 但这应该是绝不可能发生的事,因为我这个项目SSMTest是好久以前就搭建的一个项目,是专门搭建后方便用来测试一些其他技术的,这个SSMTest项目已经用了很久了配置什么的肯定是没有问题的,今天电脑系统出了点问题,然后在eclips…
出错情景:maven中已经加载了spring的核心包,但是项目启动时,报错: org.apache.catalina.core.StandardContext listenerStart严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframewor…