这个问题,是由于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,把项目刷新一下, 红叉就没有了。配置