2013-10-15 9:43:21 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:jcz' did not find a matching property.
2013-10-15 9:43:21 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 (x86)\Java\jdk1.6.0_10\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;D:\app\bcit_kf1\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Tools\svnanzhuang\bin;D:\Tools\Mysql5\bin
2013-10-15 9:43:21 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2013-10-15 9:43:21 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 431 ms
2013-10-15 9:43:21 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-10-15 9:43:21 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2013-10-15 9:43:22 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Workspaces\Eclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\jcz\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2013-10-15 9:43:22 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class com.utils.listener.Log4jConfigListener
java.lang.ClassNotFoundException: com.utils.listener.Log4jConfigListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3877)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
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:583)
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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2013-10-15 9:43:22 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
2013-10-15 9:43:22 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2013-10-15 9:43:22 org.apache.catalina.core.StandardContext start
严重: Context [/jcz] startup failed due to previous errors
2013-10-15 9:43:22 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2013-10-15 9:43:22 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2013-10-15 9:43:22 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/20 config=null
2013-10-15 9:43:22 org.apache.catalina.startup.Catalina start
信息: Server startup in 588 ms
------解决方案--------------------
------解决方案--------------------
重新配置一下环境变量试试看
------解决方案--------------------
默认情况下,server.xml 的 Context 元素不支持名称为 source 的属性,所以会发出警告。
解决办法是:关闭 tomcat,双击 eclipse 下 tomcat 服务器,在出来的 Tomcat server at localhost 页面中找到 server options 选项,选中其中的选项“Publish modual contexts to separat XML files”,ctr+s,启动 tomcat