Today back to the company to organize the project, and the previous project was developed with MyEclipse, now to use eclipse development, so the project in the process of the introduction of the problem, check the relevant information, the project finally imported successfully.
Import the MyEclipse project into Eclipse 1. Make sure that your eclipse is a Java EE version, or that you have installed the WTP plugin
2. Modify the. project file under Eclipse Project:
Join in <natures> </natures>
<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>
Join in <buildSpec> </buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
3. Refresh the project, Project-> right click->properties->project facets->modify Project, select Java and dynamic Web Module
Configure the context Root and content Directory as well as the source path.