1、增加依赖

<!--热部署DecTools工具-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
        </dependency>

 

2、设置代码自动编译

 idea集成热部署(devtools)

3、运行时,自动编译

两下shift,搜registry,选action下的,勾选如下选项

idea集成热部署(devtools)

相关文章:

  • 2022-02-28
  • 2022-01-01
  • 2021-05-17
  • 2021-05-03
  • 2021-07-24
  • 2021-12-04
猜你喜欢
  • 2022-02-27
  • 2021-06-05
  • 2022-01-08
  • 2021-11-19
  • 2021-08-19
  • 2021-05-30
  • 2021-06-18
相关资源
相似解决方案