1、修改POM文件 2、修改maven设置 3、修改Project Structure-Modules 5、修改tomcat配置 (不修改可能报错:war: Error during artifact deployment)