如何在 Eclipse 上关闭项目方面?
我试图解决我的 Eclipse 中的一个问题,所以我点击了:
I was trying to resolve a problem in my eclipse so I clicked on :
Propreties -> Project Facets -> Click on the link
现在我对Project Facets
有了新的看法,还有很多错误,我不知道如何回到上一步并取消这件事.
Now I have a new view of Project Facets
and a lot of errors and I don't know how to come back to the previous step and cancel this thing.
你知道怎么做吗?
提前谢谢你.
推荐答案
- 转到您的
/workspace/project/
- 编辑
.project
文件 - 备份此文件以防万一
- Go to your
/workspace/project/
- Edit
.project
file - Make a backup of this file as a precaution
搜索 <nature>
标签并删除所有引用,除了这个:
Search <nature>
tag and remove all references, except this one:
<nature>org.eclipse.m2e.core.maven2Nature</nature>
上面的行说你正在使用一个 maven 项目.
The above line says you are using a maven project.
删除其他行,例如:
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
相关文章