1. 程式人生 > >SpringBoot自帶熱載入開發工具

SpringBoot自帶熱載入開發工具

      SpringBoot自帶熱載入開發工具

maven配置:

<!-- SpringBoot自帶熱載入開發工具 -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
</dependency>

 IDEA配置

 快捷鍵:shift+ctrl+alt+/

之後選擇Registry...

重啟IDEA,這樣就會以熱載入的方式啟動專案