IntelliJ IDEA spring-boot 热部署

转自:spring-boot项目(idea工具)热部署(亲测有效)

spring-boot项目热部署idea工具:

(1)、pom文件引入:都需要为true



   org.springframework.boot
   spring-boot-devtools
   true 


   org.springframework.boot
   spring-boot-maven-plugin
   
      true
   

(2)、idea编译器设置file→setting→compiler

IntelliJ IDEA spring-boot 热部署_第1张图片

(3)idea设置

快捷键ctrl+alt+shift  /

IntelliJ IDEA spring-boot 热部署_第2张图片

勾选IntelliJ IDEA spring-boot 热部署_第3张图片

重启项目即可生效。亲测有效。

你可能感兴趣的:(IDEA)