错误:Description Resource Path Location Type Target runtime

Description Resource Path Location Type Target runtime MyEclipse Tomcat v7.0 Unknown Faceted Project Problem为例。

 
 

1、import以前的项目(problems中注意查看),由于以前运行的原因,会报以下错误,但不影响操作:

 

Description Resource Path Location Type Target runtime MyEclipse Tomcat v7.0 Unknown Faceted Project Problem
QQ截图20130924134513

2.找到工程目录下的.settings下的org.eclipse.wst.common.project.facet.core.xml

即 /.settings/org.eclipse.wst.common.project.facet.core.xml

< ?xml version="1.0" encoding="UTF-8"?>
< ?faceted -project>
< ?runtime name="MyEclipse Tomcat v7.0">
< ?fixed facet="wst.jsdt.web">
< ?fixed facet="java">
< ?fixed facet="jst.web">
< ?installed facet="java" version="1.5">
< ?installed facet="jst.web" version="2.5">
< ?installed facet="jst.web.jstl" version="1.2">
< ?installed facet="web.struts2" version="2.1">
< ?installed facet="wst.jsdt.web" version="1.0">
< \/faceted>
< \/code>
将 \
< ?runtime name="MyEclipse Tomcat v7.0">删除,工程右键,refresh即可.

 

其他错误解决方法类似。

猜你喜欢

转载自lihaiming.iteye.com/blog/2190664