Target runtime Apache Tomcat 6.0 is not defined
1、导入以前的项目(Markers中注意查看,就在console选项卡旁边),报以下错误,但不影响操作:
Description Resource Path Location Type
Target runtime Apache Tomcat v6.0 is not defined. lfpms Unknown Faceted Project Problem
解决办法:
在工作台目录下找到 项目的文件夹 /.settings/org.eclipse.wst.common.project.facet.core.xml
打开后,显示
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Apache Tomcat v6.0"/>
<fixed facet="jst.web"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="java"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="2.5"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>