這個問題,是由於MyEclipse項目導入到Eclipse致使的,項目文件不報錯,可是項目出現了一個紅叉,eclipse
調整在problems視圖中出現Errors錯誤:ui
Description Resource Path Location Type
Target runtime com.genuitec.runtime.generic.jee70 is not defined.spa
或xml
Description Resource Path Location Type
Target runtime com.genuitec.runtime.generic.j2ee13 is not defined. wwwjuefeng_service Unknown Faceted Project Problem
ip
解決方式:咱們打開項目根目錄,找到.settings文件夾,打開get
org.eclipse.wst.common.project.facet.core.xml文件it
,打開後,會發現有一個配置行:io
< runtime name="com.genuitec.runtime.generic.jee70" />cli
刪掉該行後保存。回到eclipse,把項目刷新一下, 紅叉就沒有了。配置