file->project structure artifacts->点击+,选择web application:archive,创建manifest 文件;ok build->build artifacts,即可在out目录下创建war包