1つのポンポンを追加 spring-boot-devtools
依存性
< 依存> < groupIdを> org.springframework.boot </ groupIdを> < たartifactId >春・ブート・デベロッパーツール</ たartifactId > < オプション>真</ オプション> </ 依存関係>
2つの設定の変更
选中 File->Setting –> Build, Execution, Deployment –> Compiler–>
自動的にプロジェクトをビルドします
3 SHIFT+CTRL+A
入力し 、レジストリを ポップアップウィンドウで
検索compiler.automake.allow.when.app.running ダニを
参考:
2 https://www.mkyong.com/spring-boot/intellij-idea-spring-boot-template-reload-is-not-working/