boot踩过坑做下记录

#项目发布使用使用外置tomcat 基础配置

一.重写SpringBootServletInitializer配置属性

springboot项目使用外置tomcat发布项目(注意事项)

二.移除内置tomcat 添加服务器配置 ,使用thymeleaf引擎(根据项目自行配置)

springboot项目使用外置tomcat发布项目(注意事项)

@注意事项使用原生MVC配置 会导致资源访问不可用

例:mvc/ Controller boot/RestController

相关文章:

  • 2021-10-17
  • 2021-11-20
  • 2021-12-14
  • 2021-11-23
  • 2022-01-01
  • 2021-11-23
  • 2021-12-13
  • 2021-11-17
猜你喜欢
  • 2022-01-03
  • 2021-11-27
  • 2021-11-02
  • 2021-11-23
  • 2021-12-12
  • 2021-07-17
  • 2021-11-23
相关资源
相似解决方案