SpringBoot热部署

SpringBoot热部署配置:

第一步: 设置IDEA开启项目自动编译

File => Settings => Build,Execut,Deployment => Compiler 勾中右侧Build Project automatically

如下图:

SpringBoot热部署

第二步: 开启项目运行时自动生成

ctrl + shift + a(windows系统),command+shift+alt+/(mac系统)

搜索命令:registry => 勾选compiler.automake.allow.when.app.running  

如下图:

SpringBoot热部署