`
greemranqq
  • 浏览: 980971 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
社区版块
存档分类
最新评论

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'so

阅读更多

配置struts2 的时候遇到点错误,记录下:

 

2012-9-28 14:33:18 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: /home/pccw/jdk1.5.0_22/jre/lib/i386/server:/home/pccw/jdk1.5.0_22/jre/lib/i386:/home/pccw/jdk1.5.0_22/jre/../lib/i386:/home/pccw/jdk1.5.0_22/jre/lib/i386/client:/home/pccw/jdk1.5.0_22/jre/lib/i386:

2012-9-28 14:33:18 org.apache.tomcat.util.digester.SetPropertiesRule begin

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

2012-9-28 14:33:18 org.apache.coyote.http11.Http11Protocol init

信息: Initializing Coyote HTTP/1.1 on http-8080

2012-9-28 14:33:18 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 943 ms

2012-9-28 14:33:18 org.apache.catalina.core.StandardService start

信息: Starting service Catalina

2012-9-28 14:33:18 org.apache.catalina.core.StandardEngine start

信息: Starting Servlet Engine: Apache Tomcat/6.0.26

2012-9-28 14:33:19 org.apache.catalina.core.ApplicationContext log

信息: Set web app root system property: 'webapp.root' = [/home/pccw/test_ssh_workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ssh2/]

2012-9-28 14:33:19 org.apache.catalina.core.ApplicationContext log

信息: Initializing log4j from [/home/pccw/test_ssh_workplace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ssh2/WEB-INF/log4j.properties]

2012-9-28 14:33:20 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring root WebApplicationContext

 

出现SetPropertiesRule警告的原因是因为Tomcat在server.xml的Context节点中不支持source属 性:<Context docBase="…" path="/…" source="org.eclipse.jst.j2ee.server:…"/>

解决方法是在Servers视图里双击创建的server,然后在其server的配置界面中选中"Publish module contexts to separate XML files"选项

 

 

 

 

 

分享到:
评论

相关推荐

    警告: [SetPropertiesRule]

    这个是教你怎么处理这个错误的一个解说。我的问题解决了。 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source'

    java基础知识,基础知识

    警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:jwgl' did not find a matching property. 3月 17, 2019 10:51:41 上午 org.apache....

    解决eclpise中启动tomcat6出现红色警告的问题

    警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:TestTomcat6.0.16' did not find a matching property. ``` 此外,还会收到关于Apache...

    maven tomcat

    [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property'source'to'org.eclipse.jst.j2ee.server:mavenWeb'did not find a matching property. ``` - 双击新添加的Server,进入配置界面。 -...

    struts-2.3.8+spring-3.2.1+mybatis-3.2.2架构

    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:autofactory' did not find a matching property. 九月 18, 2013 11:39:02 上午 org...

Global site tag (gtag.js) - Google Analytics