如何解决DescriptionResourcePathLocationType Target runtime com.genuitec.runtime.generic.jee60 is not defined.project2UnknownFace
报错信息
DescriptionResourcePathLocationType Target runtime com.genuitec.runtime.generic.jee60 is not defined.project2UnknownFace
如何解决
找到项目目录,进入.settings,找到org.eclipse.wst.common.project.facet.core.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="com.genuitec.runtime.generic.jee60"/>
<fixed facet="java"/>
<fixed facet="jst.web"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="jst.web.jstl" version="1.2.1"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="me.hibernate" version="4.1"/>
<installed facet="java" version="1.7"/>
</faceted-project>
将其中的“”这段代码删除,保存退出。刷新eclipse中的项目即可解决。