How to import a MyEclipse project into eclipse

Source: Internet
Author: User

We often download some open source projects on the Internet, or migrate some projects from other places, but often find various errors after the import. This is a beginner Java will encounter problems, this article on some of the common treatment plan to do a summary. (This article will take the MyEclipse project into eclipse as an example, other cases can refer to this process)

This is a new Web project with MyEclipse.

Now, to import it into Eclipse, let's find out what interesting things are going to happen.

Open Eclipse

Right-click in the blank of the project view on the left:

Import--Import--general--Existing Projets into Workspace

Next, then select the items you want to import.

When selected, the finish icon is lit.

Then click Finish and the project will be imported.

The project has a red fork because some places need to be reconfigured.

First, the jdk or JRE used in the previous myeclipse is not the same.

The first thing is to replace the cost of the jdk or JRE , right-click on the project--build path--configure Build Path

With the JRE System Library selected, click Edit

OK, then finish.

Finally click OK to exit.

Now you can see the project inside the file is not an error, but the project also has a red fork.

Locate the folder where the item is located, open setttings

Open this org.eclipse.wst.common.project.facet.core.xml with Notepad.

To remove this line

Go back to Eclipse and refresh the project.

This will not be an error.

If the also reported is wrong, it is possible that the project version is too high, the following sentence in the version of the project to lower the line, generally 2.5 and 3.0 are OK.

If not, you have to go to eclipse's problem view to see the error message.

How to import an MyEclipse project into eclipse

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.