右键点击项目,选择project facets,或者在properties选择,点“Convert to faceted from...”

Myeclipse maven项目转web项目

 

 

 

勾选java和Dynamic Web Module 选项

Myeclipse maven项目转web项目

 

 

接下来,选择"Further configuration available..."

Myeclipse maven项目转web项目

 

 

这里的content directory选择src/main/webapp,如果你是按maven标准来生成项目的话。另外“generate web.xml deployment descriptor”不要选了,因为我们导入的项目里已经有这个文件了。

点ok!

点击apply和ok。

Myeclipse maven项目转web项目

 

相关文章:

  • 2022-02-07
  • 2022-02-07
  • 2021-09-17
  • 2022-12-23
  • 2021-08-28
  • 2021-09-03
  • 2021-07-14
猜你喜欢
  • 2021-08-29
  • 2021-06-28
  • 2021-06-02
  • 2021-11-08
  • 2021-05-19
  • 2021-04-07
  • 2021-07-11
相关资源
相似解决方案