Import a project created under MyEclipse zyl-->
There is no sign of a small globe on the project icon, which means it is not a Web project
To turn the project into a Web project, right-click on the project-->properties--> Select Project facets--> and tap Convert to faceted form ...
Check the two items in the Red line (Java and dynamic Web Module)
Click OK
Here is a description of the differences between the versions of the Dynamic Web Module :
servlet 3.0 |
december |
Servlet 2.5 |
September 2005 |
Java EE 5, javase 5 |
Requires Javase 5, supports annotations |
Servlet 2.4 |
November 2003 |
Java 1.4, J2SE 1.3 |
Xml |
3. Change the location of the page in the project:
After step 2, the project directory structure becomes:
Right-click on the item-->properties--> Select Deployment Assembly--> Select the Remove button to the right of the webcontent point
Then, click the Add button and select Folder-->next
When Webroot is selected, click Finish--> and click OK
Delete webcontent folder
Add the project to Tomcat and you'll be able to run it.
How to import a project created under MyEclipse into eclipse