原文链接:https://blog.csdn.net/ligh_sqh/article/details/79500575

 

在这里只说一种简单的方式就是在idea中进行简单的设置就可以:

第一步:
设置IDEA开启项目自动编译,进入设置找到Build,Execut, Deployment -> Compiler 勾选中左侧的Build Project automatically
这里写图片描述

SpringBoot开启热部署
第二步:
IDEA开启项目运行时自动make, ctrl + shift + a(windows电脑),command+shift+alt+/(mac系统)搜索命令:registry -> 勾选compiler.automake.allow.when.app.running

SpringBoot开启热部署
这里写图片描述
点击Registry之后勾选compiler.automake.allow.when.app.running
这里写图片描述

SpringBoot开启热部署
 

相关文章:

  • 2021-09-27
  • 2021-05-15
  • 2022-01-01
  • 2021-12-05
  • 2021-05-22
  • 2021-11-11
  • 2022-12-23
猜你喜欢
  • 2021-12-21
  • 2022-02-11
  • 2022-03-03
  • 2021-12-12
  • 2021-07-14
  • 2021-08-15
相关资源
相似解决方案