1、pom.xml中加入
<!--实现springboot 热部署-->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <optional>true</optional>
</dependency>

2、setting

SpringBoot 实现热部署

3、IDEA 设置为在程序运行过程中,依然允许自动编译

ctrl + shift + alt + /,选择Registry,勾选勾上 Compiler autoMake allow when app running

SpringBoot 实现热部署

打完收工  就是感觉热部署有点慢

 

相关文章:

  • 2021-06-27
  • 2021-12-21
  • 2021-12-17
  • 2021-07-14
  • 2021-06-01
  • 2021-09-06
  • 2021-08-16
  • 2021-05-11
猜你喜欢
  • 2021-09-13
  • 2021-11-28
  • 2021-06-11
  • 2021-09-12
  • 2021-11-18
  • 2021-08-13
相关资源
相似解决方案