Spring boot 配置热部署 只重新加载静态资源(不重启服务)

有的没有步骤一 可以忽略

只需要在application.yml中添加配置

#thymeleaf的缓存关闭
spring
 thymeleaf:
   cache: false

不用配

devtools的东西!!!  

其实只关闭模板渲染缓存就行。。。

猜你喜欢

转载自blog.csdn.net/a1041646584/article/details/85158066