Inteliji中的SpringBoot项目通过DevTools热部署
第一步:pom种添加下面的依赖
<!--添加热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
<scope>true</scope>
</dependency>
第二步,执行Ctrl + Alt +Shift +/弹出下面这个图片,选择Registry
第三步,红线圈的这一个key打钩
最后一步,下图出的红圈处打钩,为了自动编译