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

前几天把之前写的ssm代码放在服务器跑一下,没想到直接来个错误,如图:Setting property 'source' to 'org.eclipse.jst.jee.server:Shooping' did not find a matching property.
然后百度搜了一些解答方法,大部分就Setting property 'source' to 'org.eclipse.jst.jee.server:Shooping' did not find a matching property.
让你打开tomcat,然后把图中第二项勾上。试了一下,无效,依然报错;

分析错误原因:
说的是server.xml的Service标签里的Engine标签里的Host标签里的Context标签配置了一个’source’属性,属性值是’org.eclipse.jst.jee.server:firstProject’.
但问题是Context标签是不支持source这个属性的,所以跳出了警告,

我的解决方法:
删除当前Tomcat->官网下载一个新的tomcat->添加在eclipse中->配置好环境->导入项目->运行ok

完美解决