解决tomcat启动产生[SetPropertiesRule]警告问题
2014-04-08 14:30
417 查看
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:*' did not find a matching property.
出现SetPropertiesRule警告的原因是因为Tomcat在server.xml的Context节点中不支持source属性
<Context docBase="..." path="/cont" source="org.eclipse.jst.j2ee.server:*"/>
解决方法:
Window--Show View-other..--Servers--在Servers视图里双击创建的server,然后在其server的配置界面中选中"Publish module contexts to separate XML files"选项。
具体“Publish module contexts to separate XML files”是什么意思,
请看Tomcat Publishing Options介绍:
Two new options which affect publishing are now available in the Server Options section of the Tomcat server editor. The Tomcat server must be 5.0.x or later for these options to be enabled. The Serve modules without publishing option does what it says. Web content will be served directly from the "WebContent" folder of the Dynamic Web Project. A customized context is used to make the project's dependencies available in the Web application's classloader. The Publish module contexts to separate XML files option will publish contexts using the preferred method of separate XML files under the "conf/Catalina/localhost" directory, rather than keeping them in the "server.xml" file. A couple of improvements for this option are noted in Bugs 180931 and 180936.
转载参考:
http://hi.baidu.com/luoyeyilin/item/9dd1eff00f599fd242c36ab5 http://zhang-yingjie-qq-com.iteye.com/blog/313284
出现SetPropertiesRule警告的原因是因为Tomcat在server.xml的Context节点中不支持source属性
<Context docBase="..." path="/cont" source="org.eclipse.jst.j2ee.server:*"/>
解决方法:
Window--Show View-other..--Servers--在Servers视图里双击创建的server,然后在其server的配置界面中选中"Publish module contexts to separate XML files"选项。
具体“Publish module contexts to separate XML files”是什么意思,
请看Tomcat Publishing Options介绍:
Two new options which affect publishing are now available in the Server Options section of the Tomcat server editor. The Tomcat server must be 5.0.x or later for these options to be enabled. The Serve modules without publishing option does what it says. Web content will be served directly from the "WebContent" folder of the Dynamic Web Project. A customized context is used to make the project's dependencies available in the Web application's classloader. The Publish module contexts to separate XML files option will publish contexts using the preferred method of separate XML files under the "conf/Catalina/localhost" directory, rather than keeping them in the "server.xml" file. A couple of improvements for this option are noted in Bugs 180931 and 180936.
转载参考:
http://hi.baidu.com/luoyeyilin/item/9dd1eff00f599fd242c36ab5 http://zhang-yingjie-qq-com.iteye.com/blog/313284
相关文章推荐
- 解决tomcat启动产生[SetPropertiesRule]警告问题
- 解决tomcat启动产生[SetPropertiesRule]警告问题
- 启动tomcat出现[SetPropertiesRule]警告问题解决
- 从eclipse3.4中启动tomcat6.0.16出现有关“SetPropertiesRule”错误的问题解决方法[转载]
- 启动tomcat后出现红色 警告: [SetPropertiesRule]
- Tomcat 警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source...的解决方法
- eclipse 启动tomcat6.0 “警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property '”
- eclipse启动Tomcat时警告:WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
- eclipse启动tomcat警告 [SetPropertiesRule]{Server/Service/Engine/Host/Context}
- Tomcat启动报错:警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context}Setting property 'source' to '
- Tomcat启动--警告: [SetPropertiesRule]
- Eclipse+Tomcat 启动警告 [SetPropertiesRule]
- tomcat-警告: [SetPropertiesRule]
- 关于linux下tomcat启动出现cannot find ./catalina.sh以及cannot find setclasspath问题的解决办法
- 警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:esignmanage' did not find a matching property.解决
- 关于启动tomcat遇到 [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:*'
- Eclipse里调试部署程序、启动Tomcat时报错:SetPropertiesRule
- tomcat日志警告WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
- eclipse tomcat启动错误情况之一 SetPropertiesRule
- Tomcat警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source'