IDEA打包JavaWeb项目

1.File->Project Structure
2.Artifacts->"+"->Web Application Exploded->From Modules
弹框选择对应Module,点击ok
image
image
3."+" -> Web Application Archive -> For 'xxx:war exploded' -> 最后点击"OK"
image
4.Build -> Build Artifacts
image
5.弹窗选择 'xxx:war' -> Build
image
打包成功:
image

posted @ 2024-04-10 09:23  一刀一个小西瓜  阅读(19)  评论(0编辑  收藏  举报