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.
eclipse java project 转换为 web project(转)

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

相关文章:

  • 2022-01-19
  • 2021-04-14
  • 2021-12-03
  • 2021-08-23
  • 2021-10-01
  • 2022-12-23
  • 2021-06-11
  • 2022-01-22
猜你喜欢
  • 2021-10-19
  • 2021-09-02
  • 2021-04-15
相关资源
相似解决方案