java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

严重: 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.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
web.xml的监听我加了
还有包我是右键项目build puth 选择的是spring2.0 web libraries
我用的是MyEclipse 6.5
ssh框架
有谁能帮我看看吗我的QQ414827442
邮箱414827442@qq.com

第1个回答  2009-09-14
不知道你是不是ssh整合,有可能你的spring包没导全,也可能在web.xml里没写这句:

<listener>

<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>本回答被网友采纳
第2个回答  2009-09-17
你的Spring的jar包没有导全。在用到jar某些类时报错。
第3个回答  2009-09-16
缺包
第4个回答  2009-09-18
你的问题我以前遇见过,就是jar包导的不对

...org.springframework.web.context.ContextLoa
在web.xml加上<context-param> contextConfigLocation classpath:applicationContext-*.xml <\/context-param> 因为默认的读取的是\/WEB-INF下的配置文件,如果配置文件在src中要把路径改为类路径底下 4.把工程刷新一下,因为工程是部署在服务器底下的,要把加入的jar包部署到工程里。

springboot rabbitMQ 启动报错
:[vip_seller_classplan_domain_queue_for_realloacate]org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry';nested exception is org.springframework.amqp.AmqpIllegalStateException: Fatal exception o...

相似回答