1、import以前的项目(problems中注意查看),由于以前运行的原因,会报以下错误,但不影响操作:
Description Resource Path Location Type Target runtime MyEclipse Tomcat v7.0 Unknown Faceted Project Problem
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">(将此行,或类似此行的删除,保存下。)回到eclipse,在红叉叉工程上右键,refresh即可.
本文介绍了解决MyEclipse导入旧项目时出现的未知项目类型问题的方法,通过修改特定配置文件消除错误提示。
1万+

被折叠的 条评论
为什么被折叠?



