Idea实现SpringBoot DevTools热部署
导入jar包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
idea 勾上自动编译或者手动重新编译
File > Settings > Compiler-Build Project automatically
idea 注册
按 ctrl + shift + alt + / > Registry > 勾选Compiler autoMake allow when app running