<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
<scope>true</scope>
</dependency>
点击registry
选择compiler autoMake allow when app running
接下来在你进行项目修改切换到浏览器时就会发现springboot重新加载了
原文:https://www.cnblogs.com/sfencs-hcy/p/13491368.html