An error occurred in Eclipse Project go to MyEclipse

Source: Internet
Author: User

The reasons are as follows.

This problem is caused by inconsistencies between the compiled version of the JDK and the running version of the JRE.

In MyEclipse, the build path of the project is set individually.

There are also problems with the type conversion, because the JDK version of the inconsistency, the download of some code in the small project will appear in the case of compilation does not pass.

Type casts are done individually.

Finally, you need to find a file named Org.eclipse.wst.common.project.facet.core.xml in the setting folder in the project file to modify it.

This file is used to automatically configure an XML file for the relevant parameters when importing a project in a development tool such as myeclipse.

<?xml version= "1.0" encoding= "UTF-8"?><faceted-project>  <fixed facet= "Wst.jsdt.web"/>  <installed facet= "java" version= "1.5"/>  <installed facet= "Jst.web" version= "2.5"/>  < Installed facet= "Wst.jsdt.web" version= "1.0"/></faceted-project>

Modify the relevant parameters to be able to debug successfully.

An error occurred in Eclipse Project go to MyEclipse

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.