【Spring问题系列】07——spring boot war tomcat 404

  • Spring Boot Tomcat

将Spring Boot应用打包为war包的方式进行部署,需要继承SpringBootServletInitializer并且重写config方法。

参考链接:
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html

文章目录
|