tomcat部署spring boot的war包 1、找到springboot项目的启动类 2、在该类继承SpringBootServletInitializer抽象类 3、重写configure方法 ·