How to turn off project facets on eclipse?

前端 未结 2 648
臣服心动
臣服心动 2021-01-12 13:10

I was trying to resolve a problem in my eclipse so I clicked on :

Propreties -> Project Facets -> Click on the link

Now I have a new

相关标签:
2条回答
  • 2021-01-12 13:43

    Here is how to turn off Eclipse facets which gave me a few problems with the Spring related to drivers, something like "cannot establish a connection".

    Right click project -> Project Natures -> search for 'Eclipse faceted Project Properties' -> Remove -> Apply and close.

    This is related: also when you click Update Maven project and it regains the warning or problems which you've fixed before, then I think it is because of incompatibilities between the versions of Dynamic Web, Java and so on, with versions from maven dependency.

    0 讨论(0)
  • 2021-01-12 13:46
    • Go to your /workspace/project/
    • Edit .project file
    • Make a backup of this file as a precaution

    Search <nature> tag and remove all references, except this one:

    <nature>org.eclipse.m2e.core.maven2Nature</nature>
    

    The above line says you are using a maven project.

    Remove other lines like:

    <nature>org.eclipse.jdt.core.javanature</nature>
    <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
    
    0 讨论(0)
提交回复
热议问题