SpringBoot热部署
1.pom.xml添加
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
2…pom.xml中的plugins修改成如下
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
</plugins>
3.Ctrl+Shift+Alt+/选择“Registry”
4.勾上compiler.automake.allow.when.app.running 然后关闭
5.ok