`
myl3017
  • 浏览: 3909 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

SSH2整合报错:java.lang.ClassNotFoundException: org.springframwork.web.context.Contex

阅读更多
今天整合SSH2,运行报错:java.lang.ClassNotFoundException: org.springframwork.web.context.ContextLoaderListener
从网上查询了二个原因:1,缺少pring-web.jar或者sping.jar及其依赖包  2,需将所有包拷贝到web-info下的lib中  均未能解决我的问题。
下面我贴出我的报错请各位大神帮忙。
详细报错如下:

2015-4-11 20:07:39 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\Administrator\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;E:\tools\apache-tomcat-6.0.29\bin
2015-4-11 20:07:39 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2015-4-11 20:07:39 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 259 ms
2015-4-11 20:07:39 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2015-4-11 20:07:39 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2015-4-11 20:07:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory SSH_2
2015-4-11 20:07:39 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class org.springframwork.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframwork.web.context.ContextLoaderListener

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4078)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
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:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2015-4-11 20:07:39 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
2015-4-11 20:07:39 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2015-4-11 20:07:39 org.apache.catalina.core.StandardContext start
严重: Context [/SSH_2] startup failed due to previous errors

求大神们指点啊,多多谢过啊!
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics