Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Warning: Unknown Faceted Project

I have a parent Maven project (using java facet version 1.7) which includes some modules. I got the following warning from Eclipse Juno SR1:

Implementation of project facet java could not be found.
Functionality will be limited (Unknown Faceted Project Problem)

How can I get rid of this error? Quick fix didn't found anything. Interestingly, I do not have Project Facet entry in the Project properties dialog.

like image 678
jilt3d Avatar asked Dec 11 '12 10:12

jilt3d


People also ask

How do I stop a project facet in Eclipse?

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

How do I enable project facets in Eclipse?

To edit a project's facets, select Project > Properties > Project Facets. Facets have version numbers. Not all facet version numbers can be changed (e.g., a facet available in only one version of software can not have other version numbers).

How do I fix Java version mismatch in Eclipse?

Before exporting the jar file from eclipse select the version 1.6 or 1.7 rather than 1.8. Please follow the below steps: (i) Right Click on project and go to "Properties". (ii) Now Select "Java Compiler" and uncheck use compliance from execution.


2 Answers

This occurs when you upgrade your IDE or open a project from older IDE into a new one.

To solve (remove the unsupported facet):

  1. open your project folder;
  2. goto to .settings sub-folder
  3. edit the org.eclipse.wst.common.project.facet.core.xml file
  4. remove the installed facet that refers to your error
  5. if it doesn't solve immediately (if you edit the file right in Eclipse), try to close and reopen project or restart eclipse.

After all done, you may, if not done yet, mark the correct facet to your project to work.

like image 127
Rodrigo Leitão Avatar answered Sep 24 '22 04:09

Rodrigo Leitão


Just delete the file

org.eclipse.wst.common.project.facet.core.xml

in the .settings folder.

It worked for me .

like image 33
Shashank Swaminathan Avatar answered Sep 24 '22 04:09

Shashank Swaminathan