IDEA热部署Devtools
添加热部署依赖
<!--热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
往项目添加maven插件
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
<addResources>true</addResources>
</configuration>
</plugin>
</plugins>
</build>
开启自动编译选项
设置里的Compiler开启ADBC开头的选择框
进行更新
按住ctrl+shift+Alt+/
点击registry
,开启compiler.automake.allow.when.app.running
和actionSystem.assertFocusAccessFromEdt
重启IDEA即可