Java compiler level does not match the version of the installed Java project FAC

Source: Internet
Author: User

Java compiler level does not match the version of the installed Java project FAC

Question one:

Q: Project icon error,problems tried to have a bug showing "Java compiler level does not match the version of the installed Java project facet."

A: This is because the Java version setting in Facted project is inconsistent with the Java version of the project .

As shown in Drawing 1:modify: Modify faceted project, this time the Java version of the item is 5.0. If the project's Java Compiler settings are as shown in Drawing 2:java C: Java Compiler. Is the error that is described in the problem. The way to modify it is simple, just unify their settings. It's OK to keep them consistent .

Project compilation issues

1. Properties->project facets-> Modify the version on the right to remain consistent

2. Window->preferences->java->compiler-> set Compiler compliance level to the right

3, window->preferences->java->installed jres-> set or select the right installed JREs

The JDK versions above three are consistent in order to compile through

Http://www.cnblogs.com/lemonme/articles/1655894.html

http://zhoshijie.iteye.com/blog/981849

Java compiler level does not match the version of the installed Java project FAC

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.