Myeclipse project import settings in eclispse, myeclipseeclispse

Source: Internet
Author: User

Myeclipse project import settings in eclispse, myeclipseeclispse

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

Import -- General -- Existing Projets into Workspace

Next, and then select the project to be imported

 

 

After the selection, the Finish icon is highlighted.

Click Finish to import the project.

The project has a Red Cross, because you need to reconfigure it in some places.

First, in MyEclipseJdkOrJreIs different.

The first thing is to replace the local costJdkOrJre,Right-click the project -- Build Path -- configure Build Path

Select JRE System Library and clickEdit

After that, clickFinish.

Click OK to exit.

Now we can see that no error is reported for all files in the project, but there is a Red Cross in the project.

Find the project folder and open setttings

Open org. eclipse. wst. common. project. facet. core. xml in notepad.

Delete this row

Go back to eclipse and refresh the project.

In this way, no error is reported.

If an error is reported, it may be that the project version is too high. Just lower the version of the project in the following sentence. Generally, 2.5 and 3.0 are acceptable.

 

If the problem persists, you have to go to the problem view of eclipse to view the error message.

Detailed graphic configuration method for importing a project created under MyEclipse to Eclipse

 

I. Scenario reproduction.

Some prefer Myeclipse development, while others prefer eclipse development. However, there is a problem. A small problem occurs during project import in Myeclipse.

 

 

Ii. Problem Description

The imported project is not only displayed outside the package, but cannot be deployed to tomcat.

How should we configure it?

3. handle the problem.

1. Import the project created under MyEclipse

2. Change the Project to a Web Project. Right-click the Project and choose Properties> Project Facets.

 

3. Select the two items (java and Dynamic Web Module) and javaScript in the red line.

 

4. Click OK to save. The project directory structure is as follows:

5. Delete the webcontent directory.

The effect is as follows:

6. Remove the webcontent directory in the configuration.

Right-click the project and choose Properties> Deployment Assembly> select the Remove button on the right of the WebContent point.

7. Add the webroot directory.

Click Add and select Folder --> Next.

Add the project to Tomcat to run the program.

The configuration is complete.

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.