Eclipse does not compile the class file, or it is an error unbound classpath container: ' JRE System Library

Source: Internet
Author: User

Error in problems description Resource Path location Type
Unbound classpath container: ' JRE System Library [jdk1.6.0_21] ' in Project ' Ehms ' ehmsbuild pathbuild Path problem

When it started, it didn't come up. Will report some of the errors that can not be loaded into the class, fortunately, through the Internet to find a solution, so record down.

The error diagram is as follows:




Unbound classpath container: Project ' ABC ' for JRE system library [Jre1.6.0_11]

This means that the JDK version of the project is inconsistent with the JDK versions used by the IDE, resulting in an unbound state

-----------Workarounds-----------------------------------

Right-click on the project, select




Choose







Then choose the problematic JDK, I also have more than one tomcat here, there are unbound in parentheses behind the hints




Watch out, there's plenty of choice.


It's settled, and some have to


If a correct JDK is already present, select Remove.


At last



End

Eclipse does not compile the class file, or it is an error unbound classpath container: ' JRE System Library

Related Article

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.