解决方法:开启“自动编译”的功能

1.第一步: 

 "Settings" ->"Build"-> “Compiler"->“Build project automatically”勾选,点右下角的“Apply”或“OK"。

 IDEA中 Spring Boot热部署无效

IDEA中 Spring Boot热部署无效 

2.第二步: 

 快捷键:Shift+Ctrl+Alt+/,在弹出的窗口中选择“1.Registry…”

找到“compiler.automake.allow.when.app.running”,对其进行勾选,并关闭该窗口;

 

IDEA中 Spring Boot热部署无效

 

相关文章:

  • 2021-04-15
  • 2021-05-30
  • 2021-07-24
  • 2021-11-27
  • 2021-06-29
  • 2022-12-23
  • 2022-01-12
猜你喜欢
  • 2021-06-13
  • 2022-01-12
  • 2021-07-22
  • 2022-01-04
  • 2021-11-25
  • 2021-06-24
  • 2021-11-26
相关资源
相似解决方案