1、项目结构 2、打包方式 在build.gradle文件中增加applay plugin :’war’ 在idea右侧gradle project下的Tasks中打包项目 打包后在项目下的build下的libs下面 相关文章: