The company uses MyEclipse, and individuals hate myeclipse, so they want to import the project into eclipse. Direct import into, will not error, but unable to deploy, Baidu, there are directly in Eclipse modified properties->project facets. I tried the next or no use, looking for a long time finally found a solution, and certainly effective.
Create a new dynamic Web project in 1.eclipse, and then copy the. project files and the Settings folder from the project directory into your project.
2. Modify the project name in the. project file, modify the Xxx.xxxx.xx.component file in the Settings folder, modify the project name, Webroot directory, bin directory, and so on.
In this way, Eclipse thinks your project is a complete Web project and is recognized when it is added to Tomcat, and the recognition name is in Xxx.xxxx.xx.component.
Migrating MyEclipse projects to eclipse