MyEclipse 项目转为 Eclipse

修改eclipse工程下的.project文件:
在<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>
在<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>
做完以上步驟後,刷新项目;點擊右鍵->项目->右键 ->Properties->Project Facets->Modify Project在弹出的面板中,选择Java和Dynamic Web Module 下一步是配置Context Root 和Content Directory 以及源码路径,配置完成。

by : http://turing9527.blog.163.com/blog/static/1535822002010322033310/

你可能感兴趣的:(MyEclipse 项目转为 Eclipse)