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