如何在 Eclipse 上关闭项目方面? [英] How to turn off project facets on eclipse?

查看:29
本文介绍了如何在 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>
      

      这篇关于如何在 Eclipse 上关闭项目方面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆