Java compiler level does not match the version of the installed java project facet, compilerfacet

Source: Internet
Author: User

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 ,:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.