Eclipse Import to Web project does not have run on server
1. The main lack of the following two things:
1. Modify the. project file under the project (if you have run on server yourself, you can compare the Web project you built, and then look at the. project file is missing something, add it to the good, if not before, the method is as follows):
First:
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>
2. Refresh the project (Project-clean), right-click on the project,->properties->project facets-> (if you find that there is nothing in Project Facets, you cannot find modify Project so you turn off the Eclipse software, you'll have it from the new entry. Modify Project, select Java and Dynamic Web Module, click OK. That's when the two things begin to appear.
Eclipse Import to Web project does not have run on server