Type Target runtime Apache Tomcat v7.0 is not defined.

这个问题是在更新代码的时候由于SVN报错,One or more files are in a conflicted state.(本地修改了代码没提交导致更新的时候重复了)

所以我将里面出现黄色叹号的内容全部删除掉重新更新更新代码导致的报错:

Type Target runtime Apache Tomcat v7.0 is not defined.

解决方法:

打开项目中.settings文件夹下面的org.eclipse.wst.common.project.facet.core.xml文件,删除红框里面的一行代码

Type Target runtime Apache Tomcat v7.0 is not defined.