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

在启动java web服务器Tomcat时抛出的问题:
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to 'org.eclipse.jst.jee.server: ’ did not find a matching property.

1、异常问题

在默认情况下,server.xml的 Context元素不支持名称为source的属性。

2、解决方法

2.1先关闭Tomcat

警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclips
选择Server下的Tomcat单击右键,点击Stop,关闭Tomcat

2.2双击tomcat服务器

在出来的Tomcat server at localhost页面中找到server options选项;
选中Sever Options中的 ”Publish modual contexts to separat XML files“
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclips

2.3 按Ctrl+C保存,然后关闭该页面
2.4 再打开Tomcat

右击Tomcat服务器,单击start,
然后就完成了