Srtuts2实现登录界面(不连接数据库)报错(一)

二月 28, 2014 11:32:02 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
二月 28, 2014 11:32:02 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
二月 28, 2014 11:32:02 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
二月 28, 2014 11:32:02 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
二月 28, 2014 11:32:02 下午 org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24
二月 28, 2014 11:32:02 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
二月 28, 2014 11:32:02 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
二月 28, 2014 11:32:02 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 807 ms
二月 28, 2014 11:32:02 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
二月 28, 2014 11:32:02 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.42
二月 28, 2014 11:32:03 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class org.apache.catalina.deploy.ApplicationListener@6788ad
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4854)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)

二月 28, 2014 11:32:03 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
二月 28, 2014 11:32:03 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
二月 28, 2014 11:32:03 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/Struts2] startup failed due to previous errors
二月 28, 2014 11:32:03 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
二月 28, 2014 11:32:03 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
二月 28, 2014 11:32:03 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1290 ms


错误原因:在web.xml中配置了不合时宜的监听器

<listener>
     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener> 



Srtuts2实现登录界面(不连接数据库)报错(一),布布扣,bubuko.com

Srtuts2实现登录界面(不连接数据库)报错(一)

上一篇:ASP.NET 连接MySQL数据库 详细步骤


下一篇:What is the difference between Views and Materialized Views in Oracle?