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

相关文章:

  • 2021-09-30
  • 2021-09-22
猜你喜欢
  • 2022-12-23
  • 2021-12-21
  • 2021-06-10
  • 2021-07-30
  • 2021-11-22
相关资源
相似解决方案