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

运行Tomcat时发出的警告,但是不影响项目的运行,原因是因为在部署项目时,Tomcat会在动在配置文件server.xml自动生成一行代码。如下:

<Context docBase="WebDemo" path="/WebDemo" reloadable="true" source="org.eclipse.jst.jee.server:WebDemo"/></Host>。

默认情况下,Context不支持source标签,才发出的警告。

解决方法,将tomcat、clear之后,双击进入编辑页面,勾选Server Options --> Publish module contexts to separate XML files

如图:

保存之后重新Add,启动就OK了。

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

原文地址:https://www.cnblogs.com/QiFengGrowing/p/9835780.html

时间: 2024-10-25 03:06:40

Tomcat启动时警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:****' did not find a matching property.的相关文章

解决警告: Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server_:&#39; did not find a matching property.的方法

今天第一次搭建struts2框架,跟着网上的教程导入对应的jar包之后就开始写登录的jsp页面,但是运行时出现了问题, 浏览器显示"The requested resource is not available."的提示. 于是我查看了Console那里,发现有这么一条警告 "Setting property 'source' to 'org.eclipse.jst.jee.server struts2(我的项目名):' did not find a matching pro

tomcat日志警告WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property &#39;debug&#39; to &#39;0&#39; did not find a matching property.

日志中有警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property. 跟踪后发现是连接池的配置问题: <Context path="/n" docBase="E:/xxx/war" debug="0" reloadable="true"

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context}Setting property &#39;source&#39; to &#39;org.eclipse

当你用Eclipse运行web项目的时候,你就会看到控制台出现:WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:firstProject' did not find a matching property.这样的字样,说的是server.xml的Service标签里的Engine标签里的Host标签里的

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

JAVA WEB 提示: 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:servlet1' did not find a matching property. 解决方法: 1.关闭tomcat服务器,如下图状态 2. 双击tomcat服务器,进入服务器配置界面 3.给server option中的Publish

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property &#39;source&#39; to &#39;org.eclips

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclips 一般解决方法: 把E:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ Unit_2_Program\WEB-INF\lib\javaee.jar) - jar not loaded. See Se

eclipse使用tomcat打开maven项目时,报警告 警告: [SetContextPropertiesRule]{Context} Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server:wechatManage&#39; did not find a matching property.

我是Tomcat7.0,网上的一些做法根本实现不了!而且一个copy一个,真的烦. 我的解决方法: 将server.xml文件中的 <Context docBase="wechatManage" path="/wechatManage" reloadable="false" source="org.eclipse.jst.jee.server:wechatManage"/> 改成 <Context docBa

eclipse下启动tomcat出现Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server: &#39;错误的解决办法

在eclipse中启动tomcat时出现Setting property 'source' to 'org.eclipse.jst.jee.server:你的站点名'   did not find a matching property错误 解决办法: 1.在server控制台内,在服务器上点右键--属性 2.general选项卡中点switch location 这时,location变为:/servers/tomcat6.0 server at localhost.server 3.在pro

部署时发出警告: [SetContextPropertiesRule]{Context} Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server:jx-web&#39; did not find a matching property.的解决方法

警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:jx-web' did not find a matching property. 翻译:警告: [设置属性规则]{Context} 设置属性"源"到'org.eclipse.jst.jee.server:jx-web'中没有发现匹配的属性 错误原因: 解决方法:不用管,不影响运行 部署时发出警

警告: [SetContextPropertiesRule]{Context} Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server:build-manager&#39; did not find a matching property.

今天用Eclipse运行web项目的时候,看到控制台出现:WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:firstProject' did not find a matching property. 这样的字样,说的是server.xml的Service标签里的Engine标签里的Host标签里的Co