Eclipse下Tomcat启动报错

Eclipse下Tomcat启动报错,信息如下,后来网上发现,之前jar包是通过build path中加入的,要改为将jar包放在WebContent\WEB-INF\lib中,问题解决!


2013-12-25 11:00:08 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:\Program Files\Java\jdk1.6.0_10\bin;.;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/Program Files/Java/jdk1.6.0_10/bin/../jre/bin/client;C:/Program Files/Java/jdk1.6.0_10/bin/../jre/bin;C:/Program Files/Java/jdk1.6.0_10/bin/../jre/lib/i386;C:\Program Files\Java\jdk1.6.0_10\bin;C:\Program Files\Java\jdk1.6.0_10\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\windows\system32;C:\windows;C:\windows\system32\wbem;D:\Program Files\MySQL\MySQL Server 5.1\bin;D:\Program Files\Subversion\bin;D:\KYT\Subversion\bin;D:\eclipse;

2013-12-25 11:00:08 org.apache.tomcat.util.digester.SetPropertiesRule begin

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:kyt-jm' did not find a matching property.

2013-12-25 11:00:08 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-bio-8080"]

2013-12-25 11:00:08 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["ajp-bio-8009"]

2013-12-25 11:00:08 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 599 ms

2013-12-25 11:00:08 org.apache.catalina.core.StandardService startInternal

信息: Starting service Catalina

2013-12-25 11:00:08 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/7.0.47

2013-12-25 11:00:10 org.apache.tomcat.websocket.server.WsSci onStartup

信息: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.

2013-12-25 11:00:10 org.apache.catalina.core.StandardContext listenerStart

严重: 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:1702)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)

at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)

at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)

at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:142)

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:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

2013-12-25 11:00:10 org.apache.catalina.core.StandardContext listenerStart

严重: Error configuring application listener of class org.springframework.web.util.Log4jConfigListener

java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)

at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)

at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)

at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:142)

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:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

2013-12-25 11:00:10 org.apache.catalina.core.StandardContext listenerStart

严重: Skipped installing application listeners due to previous error(s)

2013-12-25 11:00:10 org.apache.catalina.core.StandardContext startInternal

严重: Error listenerStart

2013-12-25 11:00:10 org.apache.catalina.core.StandardContext startInternal

严重: Context [/kyt-jm] startup failed due to previous errors

2013-12-25 11:00:10 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["http-bio-8080"]

2013-12-25 11:00:10 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["ajp-bio-8009"]

2013-12-25 11:00:10 org.apache.catalina.startup.Catalina start

信息: Server startup in 1654 ms


你可能感兴趣的:(eclipse,tomcat,jar包,启动报错)