解决tomcat启动产生[SetPropertiesRule]警告问题
来源:互联网 发布:送给老年人的礼物知乎 编辑:程序博客网 时间:2024/06/05 19:37
出现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]
- 启动tomcat后出现红色 警告: [SetPropertiesRule]
- 启动tomcat出现[SetPropertiesRule]警告问题解决
- tomcat-警告: [SetPropertiesRule]
- eclipse启动tomcat警告 [SetPropertiesRule]{Server/Service/Engine/Host/Context}
- eclipse启动Tomcat时警告:WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
- eclipse tomcat启动错误情况之一 SetPropertiesRule
- Redis启动警告问题的解决
- Tomcat启动警告
- Eclipse里调试部署程序、启动Tomcat时报错:SetPropertiesRule
- 解决tomcat无法启动问题
- Redis 启动警告解决
- Tomcat 警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source...的解决方法
- eclipse 启动tomcat6.0 “警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property '”
- 设置tomcat启动时间,解决tomcat服务器启动超时问题
- 解决handler警告问题
- Android 数据库SQLite
- Nginx+FastCGI+Python
- Android实现删除apk弹出网页
- java 编程好习惯(待总结)
- Fragment A按钮操作FragmentB
- 解决tomcat启动产生[SetPropertiesRule]警告问题
- Oracle GoldenGate 12c 配置Oracle Database 12c Multitenant database
- 劳动合同仅约定试用期的,试用期不成立
- 关闭浏览器时,释放session
- HashMap的工作原理
- wxPython 入门
- 解决mysql不能远程登陆的问题
- ZOJ 3600 Taxi Fare(模拟)
- java学习总结——第九天