如何解决DescriptionResourcePathLocationType Target runtime com.genuitec.runtime.generic.jee60

如何解决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中的项目即可解决。

发布了10 篇原创文章 · 获赞 4 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_42528204/article/details/105049606