SpringBoot项目热部署
1.选择File-settings-compiler
2.按住ctrl+alt+shift+/四个键,选择Registry,找三个项:
3.导入依赖
<!--热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>