`
enetor
  • 浏览: 184586 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

eclipse java project 转换为 web project(转)

 
阅读更多

1) Create a empty dynamic web project and click on the .project file


2) Copy “web project” facet buildCommand and paste within “java project” .project buildSpec tag


<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>

3) Copy “web project” facet nature and paste within “java project” .project natures tag

<nature>org.eclipse.wst.common.project.facet.core.nature</nature>


4) Save it.


5) Right click on Java Project, click properties.

6) Select Project Facets and click modify project button.

7) Click Dynamic Web Module and Java check box.


Finished, Now your java project has been converted into a web project.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics