添加依赖

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

设置

ctrl + alt + shift +/

IDEA 热部署

选 Registry

IDEA 热部署

第一个打上勾

IDEA 热部署

build project automatically打上勾重启就可以了

相关文章:

  • 2022-01-08
  • 2021-07-06
  • 2021-05-24
  • 2021-09-01
  • 2022-01-19
猜你喜欢
  • 2021-08-15
  • 2021-06-28
  • 2021-10-10
  • 2021-04-09
相关资源
相似解决方案