亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

我的熱部署也不起作用是什么原因

熱部署不起作用

正在回答

3 回答

二、spring-boot-devtools

  在pom中直接引入依賴

<dependency>
????????<groupId>org.springframework.boot</groupId>
????????<artifactId>spring-boot-devtools</artifactId>
????????<optional>true</optional></dependency>

  設置以下兩項(第一項如已設置直接設置第二項)

?

  1) “File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,選中打勾 “Build project automatically” 。

?

  2) 組合鍵:“Shift+Ctrl+Alt+/” ,選擇 “Registry” ,選中打勾 “compiler.automake.allow.when.app.running” 。

?

  之后直接正常run即可!


0 回復 有任何疑惑可以回復我~

使用idea 得另外配置東西

0 回復 有任何疑惑可以回復我~
#1

AllenSHC 提問者

需要配置啥
2018-06-10 回復 有任何疑惑可以回復我~

你看有沒有引入依賴

<dependency>

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

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

</dependency>


0 回復 有任何疑惑可以回復我~
#1

AllenSHC 提問者

依賴導入了 也配置了 但是不可以
2018-04-15 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

我的熱部署也不起作用是什么原因

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號