导入的别人的项目,报Target runtime Apache Tomcat v8.0 is not defined.错误,

arget runtime Apache Tomcat v8.0 is not defined

但是已经把项目的java building Path改成了本机的 tomcat版本,还是有红叉。

 

arget runtime Apache Tomcat v8.0 is not defined

后来发现需要更改项目配置文件。org.eclipse.wst.common.project.facet.core.xml

arget runtime Apache Tomcat v8.0 is not defined

如下图所示:Tomcat要改成本机版本。

arget runtime Apache Tomcat v8.0 is not defined

相关文章: