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

查看:106
本文介绍了如何在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天全站免登陆