1.pom添加热部署

<dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-devtools</artifactId>
</dependency>

2.File->Settings->Compiler

idea + springboot 热部署

 

 勾选

idea + springboot 热部署

3.ctrl+alt+shift+/

idea + springboot 热部署

 

 选择

idea + springboot 热部署

 

 勾选

idea + springboot 热部署

 

相关文章: