SpringBoot2.0.4部署在tomcat容器中 1. 修改啟動類繼承自SpringBootServletInitializer。 2. 重寫config方法: 3. 在pom文件中加入引用 4. 修改war包編譯 5. 將生 ...