boot踩过坑做下记录

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

一.重写SpringBootServletInitializer配置属性

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

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

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

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

例:mvc/ Controller boot/RestController

相关文章:

  • 2021-08-31
  • 2021-05-23
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-05-26
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2021-05-24
  • 2021-06-18
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
相关资源
相似解决方案