1. 程式人生 > >idea | SpringBoot專案熱載入

idea | SpringBoot專案熱載入

 

第一步: 

 在pom檔案新增依賴:

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

  

第二步: 在idea編譯器上設定

 

 

 然後,鍵盤按鍵

ctrl + shift + alt + /

 

 

重啟idea,即可。