Setting property 'source' to 'org.eclipse.jst.jee.server:web' did not find a matching property原因

这个问题困扰了好久,虽然只是tomcat的一个警告,但强迫症让我总觉得不舒服,搜索了好多文章才找到知乎上一篇处理的最好的。另外:能找谷哥,尽量不要度娘,太浪费时间。

具体操作如下:

默认情况下,server.xml的 Context元素不支持名称为source的属性,就出现该警告

双击eclipse下tomcat服务器,在出来的Tomcat server at localhost页面中找到
server options选项,选中其中的选项”Publish modual contexts to separat XML
files“,ctr+s,启动tomcat.

Tomcat 7.0不适用以上方法,应该用以下方法解决:

关闭tomcat,将Context的source属性去掉,然后将docBase属性指向默认的

wtpwebapps目录下对应的项目,暂未发现有什么问题。
如:<Context docBase="../wtpwebapps/sss" path="/" reloadable="true" />

下面是知乎原作者及原地址

作者:有铭
链接:https://www.zhihu.com/question/22298367/answer/30704992
来源:知乎
著作权归作者所有,转载请联系作者获得授权。

Setting property 'source' to 'org.eclipse.jst.jee.server:web' did not find a matching property原因

时间: 2024-08-06 13:19:27

Setting property 'source' to 'org.eclipse.jst.jee.server:web' did not find a matching property原因的相关文章

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

新建一个动态web工程,在web-content目录下新建了一个a.jsp文件如下: 在servlet服务器上运行a.jsp,本来除以0应该出现报错,但是网页却显示如下结果: 控制台看到如下警告: 症状原因: 在eclipse配置好的tomcat服务器上双击,打开tomcat服务器的配置界面.按如下操作配置服务器:在Server Options勾上的选项,会在你部署web项目20160928 服务器会在tomcat根目录\conf\Catalina\localhost下自动创建的.xml的单应用

警告: [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

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

这个问题困扰很久了,逛了很多论坛,终于得以解决 我的控制台错误如下: 五月 10, 2016 5:23:03 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.59 五月 10, 2016 5:23:03 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Ja

配置servers时,错误:Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server:hczm&#39; did not find a matching property

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:hczm' did not find a matching property. SEVERE: Error starting static Resourcesjava.lang.IllegalArgumentException: Document base

部署时发出警告: [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'中没有发现匹配的属性 错误原因: 解决方法:不用管,不影响运行 部署时发出警

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

tomcat警告:Setting property &#39;source&#39; to &#39;org.eclipse.jst.j2ee.server:ServletPro&#39; did not find a matching property

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:ServletPro' did not find a matching property. 原因:这是因为我们在eclipse下,通过tomcat部署web工程时,tomcat的配置文件server.xml中会自动生成一个关于该web工程的配置信息,类似于下面的东

转: 解决Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server的问题

我发现这个问题上网搜索 ,找到的地址为:http://blog.csdn.net/z69183787/article/details/19911935 .但是他的标题上也有一个"转",我没找到原作者,暂时只把找到的原址标注一下吧 这是我于2013年9月4号晚遇到的问题,为了这个问题我一夜没睡!对于这个问题,我相信我的方法已经能帮90%的人解决了!当你用Eclipse运行web项目的时候,你就会看到控制台出现:WARNING: [SetPropertiesRule]{Server/Ser

警告: [SetContextPropertiesRule]{Context} Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server:

当你用Eclipse运行web项目的时候,你就会看到控制台出现: 警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:TestServlet' did not find a matching property. 这样的字样,说的是server.xml的Service标签里的Engine标签里的Host标签里的Context标签配置了一个'source'属性