這篇文章主要介紹“Idea中Springboot熱部署無效問題的解決方法”,在日常操作中,相信很多人在Idea中Springboot熱部署無效問題的解決方法問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”Idea中Springboot熱部署無效問題的解決方法”的疑惑有所幫助!接下來,請跟著小編一起來學(xué)習(xí)吧!
僅適用IDEA中,eclipse中不需要設(shè)置
一、開啟idea自動make功能
1 - Enable Automake from the compiler
PRESS: CTRL + SHIFT + A
TYPE: make project automatically
PRESS: Enter
Enable Make Project automatically feature
2 - Enable Automake when the application is running
PRESS: CTRL + SHIFT + A
TYPE: Registry
Find the key compiler.automake.allow.when.app.running and enable it
Note: Restart your application now
兩步:
1、CTRL + SHIFT + A --> 查找make project automatically --> 選中
2、CTRL + SHIFT + A --> 查找Registry --> 找到并勾選compiler.automake.allow.when.app.running
當(dāng)然了,要在pom.xml中添加上 spring開發(fā)工具包
到此,關(guān)于“Idea中Springboot熱部署無效問題的解決方法”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識,請繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!