将项目文件.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> 
然后在eclipse项目上点右键,进入属性(properties),在左侧列表项目中点击选择“Project Facets”,在右侧选择“Dynamic Web Module”和"Java",点击OK保存。然后根据需要配置web.xml或其他配置。

 

转载:http://jianfenggong.iteye.com/blog/2066067

 

 

相关文章:

  • 2021-06-28
  • 2021-11-23
  • 2021-07-04
  • 2021-06-26
猜你喜欢
  • 2021-09-17
  • 2022-12-23
  • 2021-04-01
  • 2021-07-23
  • 2022-01-12
  • 2021-07-19
相关资源
相似解决方案