使用springboot devtools工具实现热部署

一、在maven父工程pom文件中添加依赖
二、在子工程中添加依赖
三、在IDEA中勾选 Build project automatically
四、 Shift+Ctrl+Alt+/,选择Registry
勾选 compiler.automake,allow.when.app.running
再测试,修改代码就不用重启啦


来自为知笔记(Wiz)


posted on 2020-06-22 01:44  白衣风云  阅读(133)  评论(0编辑  收藏  举报

导航