因为使用的 idea springboot2.2.0 snapshot版本,

常规的devtools方法实在是实现不了热部署,所以采用手动update的方法更新,测试可以成功更新resource里面的thymeleaf html,也可以更新webapp下的html;

 

参考:https://segmentfault.com/a/1190000015930347

 

注:需引入 springboot devtools的依赖

方法:

springboot 热部署替代方式

 

springboot 热部署替代方式

 

相关文章:

  • 2021-08-15
  • 2021-09-25
  • 2021-05-03
  • 2021-06-16
  • 2021-06-20
猜你喜欢
  • 2021-12-12
  • 2021-07-07
  • 2021-12-17
  • 2021-05-21
  • 2021-12-12
  • 2022-12-23
相关资源
相似解决方案