Java compiler level does not match the version of the installed java project facet, compilerfacet
Java compiler level does not match the version of the installed java project facet error Solution
Due to work, the Java project developed by Eclipse is copied and copied. Sometimes a strange error is reported. Clearly, the source code is the same. Why is the error "java compiler level does not match the version of the installed java project facet" reported when the project is replicated to another machine?
:
In fact, it is easy to solve the problem. In the resource manager, find the directory where the project is located. in the settings subdirectory, open org. eclipse. wst. common. project. facet. core. xml configuration file ,:
Modify the red line to make it consistent with the project's compiler version settings.
To view the project's Compiler version settings, right-click the Eclipse environment and select a project, click Properties, and select Java Compiler. The Compiler version is displayed on the right of the window ,: