2015-6-12 11:51:33 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source‘ to ‘org.eclipse.jst.jee.server:operation-portal‘ did not find a matching property. 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.61 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Mar 27 2015 12:03:56 UTC 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 7.0.61.0 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 7 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.1 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: amd64 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: C:\Program Files\Java\jdk1.6.0_45\jre 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.6.0_45-b06 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Sun Microsystems Inc. 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: D:\apache-tomcat-7.0.61 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: D:\apache-tomcat-7.0.61 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:59499 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=D:\apache-tomcat-7.0.61 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=D:\apache-tomcat-7.0.61 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dwtp.deploy=D:\apache-tomcat-7.0.61\webapps 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=D:\apache-tomcat-7.0.61\endorsed 2015-6-12 11:51:33 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dfile.encoding=UTF-8 2015-6-12 11:51:33 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: 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_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_45\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\TortoiseSVN\bin;. 2015-6-12 11:51:33 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8888"] 2015-6-12 11:51:33 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 2015-6-12 11:51:33 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 712 ms 2015-6-12 11:51:33 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 2015-6-12 11:51:33 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.61 2015-6-12 11:51:33 org.apache.tomcat.websocket.server.WsSci onStartup 信息: JSR 356 WebSocket (Java WebSocket 1.1) 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 WebSocket JARs 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. 2015-6-12 11:51:33 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\apache-tomcat-7.0.61\webapps\ROOT 2015-6-12 11:51:33 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory D:\apache-tomcat-7.0.61\webapps\ROOT has finished in 52 ms 2015-6-12 11:51:33 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8888"] 2015-6-12 11:51:33 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 2015-6-12 11:51:33 org.apache.catalina.startup.Catalina start 信息: Server startup in 606 ms
原因是Tomcat6.0的server.xml的context节点中不支持source属性。
你这样设置一下就好了:
时间: 2024-11-10 19:08:28