(1) pom文件:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
(2) Settings 配置
image.png
(3) 按ctrl+shift+alt+/
image.png
(4) 重启IDEA
网友评论