个人积累
- command + SHIFT + A --> 查找make project automatically --> 选中
- command + SHIFT + A --> 查找Registry --> 找到并勾选compiler.automake.allow.when.app.running
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
</plugins>
</build>