springboot 热部署替代方式

 

 

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

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

 

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

 

注:需引入 springboot devtools的依赖

方法:

 

 

posted @ 2019-10-18 01:03  由良大小姐  阅读(346)  评论(0编辑  收藏  举报