eclipse将java工程改为java web工程

来源:互联网 发布:嗨课网软件哪里下载 编辑:程序博客网 时间:2024/06/05 07:34
1. 下载插件,名字为:org.eclipse.wst.common.project.facet.core.xml(或者在其他web项目\.setting\目录下拷贝一个)放到工程下.setting 目录下
2:在工程(.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>
3:刷新工程
0 0
原创粉丝点击