eclipse tomcat7.0 start 常见错误警告
Posted 文辉居士
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse tomcat7.0 start 常见错误警告相关的知识,希望对你有一定的参考价值。
十月 24, 2013 9:47:06 上午 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
十月 24, 2013 9:47:06 上午 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
十月 24, 2013 9:47:06 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source‘ to ‘org.eclipse.jst.jee.server:BusinessSystem‘ did not find a matching property.
十月 24, 2013 9:47:07 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
十月 24, 2013 9:47:07 上午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-9080"]
十月 24, 2013 9:47:07 上午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
十月 24, 2013 9:47:07 上午 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1856 ms
十月 24, 2013 9:47:07 上午 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
十月 24, 2013 9:47:07 上午 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
十月 24, 2013 9:47:09 上午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-9080"]
十月 24, 2013 9:47:09 上午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
十月 24, 2013 9:47:09 上午 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1443 ms
解决办法:
设置服务类型为Tomcat:
1、在server控制台内,在服务器上点右键--属性
2、general选项卡中点switch location
4、双击 Tomcat v7.0 Server at localhost.server 这个文件 ,双击打开
5、在最下面的server option里选中publis module context to separate xml file.保存。
6、完成,重启Tomcat。
十月 24, 2013 9:55:34 上午 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
十月 24, 2013 9:55:34 上午 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
十月 24, 2013 9:55:36 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
十月 24, 2013 9:55:36 上午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-9080"]
十月 24, 2013 9:55:36 上午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
十月 24, 2013 9:55:36 上午 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2001 ms
十月 24, 2013 9:55:36 上午 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
十月 24, 2013 9:55:36 上午 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
十月 24, 2013 9:55:37 上午 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor C:UsersAdministratorworkspace.metadata.pluginsorg.eclipse.wst.server.core mp2confCatalinalocalhostBusinessSystem.xml
十月 24, 2013 9:55:37 上午 org.apache.catalina.startup.SetContextPropertiesRule begin
WARNING: [SetContextPropertiesRule]{Context} Setting property ‘source‘ to ‘org.eclipse.jst.jee.server:BusinessSystem‘ did not find a matching property.
十月 24, 2013 9:55:37 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:UsersAdministratorworkspace.metadata.pluginsorg.eclipse.wst.server.core mp2wtpwebappsBusinessSystemWEB-INFlibservlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
十月 24, 2013 9:55:41 上午 org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
十月 24, 2013 9:55:41 上午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
查找网络上他们说是server.xml配置文件中Context节点不支持source属性。
以上是关于eclipse tomcat7.0 start 常见错误警告的主要内容,如果未能解决你的问题,请参考以下文章
解决Eclipse添加新server时无法选择Tomcat7.0
解决Eclipse添加新server时无法选择Tomcat7.0