当前位置: 代码迷 >> Eclipse >> Eclipse下的Setting property 'source' to '.' did not find a matching property 异常
  详细解决方案

Eclipse下的Setting property 'source' to '.' did not find a matching property 异常

热度:438   发布时间:2016-04-22 23:35:22.0
Eclipse下的Setting property 'source' to '...' did not find a matching property 错误

Eclipse下运行服务器时报警告:

[SetPropertiesRule]{Server/Service/Engine/Host/Context}Setting property 'source' to 'org.eclipse.jst.jee.server:工程名' did not find a matching property.


原因:默认情况下,server.xml的 Context元素不支持名称为source的属性,就出现该警告
解决:双击server窗口下的tomcat服务器,在出来的Tomcat server at localhost页面中找到
server options选项,选中其中的选项”Publish modual contexts to separat XML
files“,ctr+s,启动tomcat.

?

作者:有铭
链接:http://www.zhihu.com/question/22298367/answer/30704992
来源:知乎

?

  相关解决方案