解决tomcat启动产生[SetPropertiesRule]警告问题
2016-06-29 14:47
507 查看
[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在linux上
- tomcat,weblogic下配置问题
- 项目从tomcat向weblogic迁移遇到的一些问题
- tomcat报警错误
- Tomcat多域名配置
- 在同一台服务器上配置多个Tomcat
- 去掉tomcat项目访问路径的端口号和项目名
- 85-002 商城项目前期简单搭建【上】(SSH+EasyUI+ajax+jquery+tomcat)
- tomcat杀进程
- dynamic web module和对应的TOMCAT 版本
- web项目无法部署到eclipse配置的本地tomcat
- tomcat启动慢的原因分析
- Tomcat failed to starte的问题
- 主机无法访问linux虚拟机中tomcat的服务-解决办法
- Ubuntu16.04安装:JDK8+eclipse+tomcat9
- Tomcat中的线程池StandardThreadExecutor
- Servlet学习笔记(Tomcat目录结构)
- Eclipse集成Tomcat 报错Tomcat 7.x JDK name
- Tomcat的webapps目录下的classes文件夹下缺失编译好的.class文件原因及其解决方法
- 修改Tomcat Connector运行模式,优化Tomcat运行性能