How to import myeclipse project into eclipse

1. In the .classpath file in the project directory, change all Webroot strings to WebContent and save.

2. Rename the webroot folder in the directory to WebContent.

3. Select the project and right-click BuildPath-->configure Build Path--> select Add Library-->server Runtime--> select the desired web server under the current window
4. Right-click on the eclipse project to refresh the project.

5. Right-click and go to properties. Click to select "Project Facets" in the list item on the left, select "Dynamic Web Module" and "Java" on the right, and click Save.


eclipse starts the project normally

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326448199&siteId=291194637