intellij中springboot热部署
生活随笔
收集整理的這篇文章主要介紹了
intellij中springboot热部署
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
一、開啟idea自動make功能?
1、CTRL + SHIFT + A --> 查找make project automatically --> 選中?
2、CTRL + SHIFT + A --> 查找Registry --> 找到并勾選compiler.automake.allow.when.app.running?
最后重啟idea?
二、使用spring-boot-1.3開始有的熱部署功能?
1、加maven依賴
2、開啟熱部署
<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><configuration><fork>true</fork></configuration></plugin></plugins> </build>三、Chrome禁用緩存?
F12(或Ctrl+Shift+J或Ctrl+Shift+I)--> NetWork --> Disable Cache(while DevTools is open)?
至此,在idea中就可以愉快的修改代碼了,修改后可以及時看到效果,無須手動重啟和清除瀏覽器緩存
轉載于:https://my.oschina.net/u/2963099/blog/2395604
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的intellij中springboot热部署的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CSharpGL(50)使用Assimp
- 下一篇: UITT-欧盟MiFID II新监管法规