• <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>

    IntelliJ IDEA怎么熱啟動springboot項目

    我們在利用IntelliJ IDEA開辟springboot項目時,每次點竄都需要重啟IntelliJ IDEA,很是的麻煩,影響開辟的效率,那么IntelliJ IDEA怎么熱擺設springboot項目呢,下面本文就介紹一下。

    東西/原料

    • IntelliJ IDEA,springboot

    方式/步調

    1. 1

      起首,需要在springboot項目標pom.xml文件中引入相關的依靠,maven依靠為:

      <dependency>    

           <groupId>org.springframework.boot</groupId>    

           <artifactId>spring-boot-devtools</artifactId>    

           <optional>true</optional>

      </dependency>


      和插件撐持:

      <build>    

          <plugins>        

               <plugin>            

                     <groupId>org.springframework.boot</groupId>            

                     <artifactId>spring-boot-maven-plugin</artifactId>            

                     <configuration>                

                          <fork>true</fork>            

                     </configuration>        

               </plugin>    

          </plugins>

      </build>

      如圖所示。

    2. 2

      然后點擊IntelliJ IDEA左上角的“file”,如圖所示。

    3. 3

      然后選擇下拉菜單中的“settings...”,進入idea的系統功能設置,如圖所示。

    4. 4

      進入IntelliJ IDEA的settings功能之后,選擇左側菜單的“Build,Execution,Deployment”,如圖所示。

    5. 5

      然后選擇此中的“Compiler”,然后把右面的“Build project automatically”前面的復選框勾選,如圖所示。

    6. 6

      然后利用快捷鍵“Ctrl+Shift+A”,搜刮“Registry”,如圖所示。

    7. 7

      然后把如圖所示的key進行勾選就可以了,如圖所示。

    8. 8

      然后需要重啟IntelliJ IDEA,不然可能不生效,以上就是IntelliJ IDEA怎么熱啟動springboot項目標方式介紹,但愿可以幫到大師。

    • 發表于 2019-07-30 00:48
    • 閱讀 ( 816 )
    • 分類:其他類型

    你可能感興趣的文章

    相關問題

    0 條評論

    請先 登錄 后評論
    admin
    admin

    0 篇文章

    作家榜 ?

    1. xiaonan123 189 文章
    2. 湯依妹兒 97 文章
    3. luogf229 46 文章
    4. jy02406749 45 文章
    5. 小凡 34 文章
    6. Daisy萌 32 文章
    7. 我的QQ3117863681 24 文章
    8. 華志健 23 文章

    聯系我們:uytrv@hotmail.com 問答工具
  • <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>
    久久久久精品国产麻豆