IDEA Spring boot 热部署
1.pom.xml引入依赖
在<dependency>标签内部引入 spring-boot-devtools
在<project>标签内部引入build标签
2.设置idea热部署
点击 file -->settings...进入配置页
在配置页中点击Build,EExecution,Deployment--->Compiler
将Build project automatically 勾选
使用快捷键ctrl+alt+shift+/ 弹出Maintenance 点击 1.Registry...
输入compiler.automake.allow.when.app.running快速查找并勾选
至此,就可使用热部署了