When we import a Javaweb project in MyEclipse into Eclipse, there is an issue where the project type cannot be converted (that is, the import becomes a Java project)
The following solutions are available:
1, go to the Eclipse workspace and locate the. project file in the directory where you imported the project,
2, open and find the <natures>...</natures> code snippet, then add the following in it and Save:
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
3. Right-click on the Eclipse project to refresh the project
4, right-click on the Eclipse Project, then go to "Properties", select "Project Facets" in the list on the left, select "Java" and "Dynamic Web Module" on the right, and click OK to save.
You cannot convert a project to Javaweb after you import the Javaweb project in MyEclipse in eclipse