idea对javaweb项目打war

在idea中:web

1,File ----》 Project Structuretomcat

 

 

2,modules 添加tomcat依赖jar包ide

 

 

3,facets  添加web.xml 和项目的sourceui

 

 

4,artfacts建立,添加archive,建立META-INFO,选取web.xml和sourceidea

 

5,而后在Build中进行Build Artifacts3d

相关文章
相关标签/搜索