1、找到项目目录下的.project文件

2、编辑.project文件,找到<natures>...</natures>

3、2中找到的结点中加下面的的代码

<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>

4、在eclipse刷新项目或重启eclipse

5、选择项目,右键,选择属性

6、在左侧列表中找到Project Facets,在右侧选择“Dynamic Web Module”和"Java",点击”OK”

相关文章:

  • 2021-11-28
  • 2021-09-24
  • 2021-06-26
  • 2021-12-15
猜你喜欢
  • 2021-09-24
  • 2021-07-23
  • 2021-09-24
  • 2021-09-30
  • 2021-11-23
相关资源
相似解决方案