SpringBoot热部署

首先在pom.xml中加入devtools:


  ...
  
    org.springframework.boot
    spring-boot-devtools
  

然后在Idea中打开自动编译