eclipse error

error   1:The project was not built due to "
删除已编译了的所有classes,刷新工程,重新编译。

error 2:有关tomcat v6.0(Target runtime Apache Tomcat V6.0 is not defined)
打开 项目 .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.java"/>
<fixed facet="jst.web"/>
<installed facet="jst.java" version="6.0"/>
<installed facet="jst.web" version="2.4"/-->///////注销掉
</faceted-project>


类别: Eclipse  查看评论

你可能感兴趣的:(eclipse)