There is a small problem with doing your homework and importing MyEclipse Web project into eclipse development. When deploying to Tomcat, it was discovered that the project could not be published.
Problem Analysis:
MyEclipse Web Project is recognized for Java project and cannot be added under Tomcat.
Analyze the modifications and additions to the Web project and Java project configuration files as long as you have Project Name, Source folder, Output folder, Runtime Target, Content folder, A common configuration file can be generated by the Context root.
After backing up the original profile, copy the blank dynamic Web Project's configuration file to the appropriate path, then modify the parameters mentioned above and some additional configurations. You can do this by programming yourself.
Solution:
1, right-click the project-"properties--," project Facets.
2, the Configuration dropdown box is selected <custom> In the project facet, tick the dynamic Web Module, Java, JavaScript check box
(Note Select version of the dynamic Web module.) Simple can be judged as, 2.4 need Tomcat 5.5+,2.5 need Tomcat 6+, specific need to collect again)
3, choose Runtime Target.
4. Click Apply, the project successfully becomes dynamic WEB project
MyEclipse Web Project imports Eclipse Dynamic Web project, unable to deploy to tomcat issues