今天在进行项目转移时,发现转移后的项目报红叉,但是能正常运行。在problem中报Target runtime com.genuitec.runtime.generic错误。
类似这种错误解决方案:
- 首先右击properties->buildpath查找jdk是否匹配
- 找到当前项目所在文件夹,在.settings文件夹中找到org.eclipse.wst.common.project.facet.core.xml文件
将其中的类似<runtime name="com.genuitec.runtime.generic.jee60" />
这一行去掉,然后重新刷新一下项目就ok了。