mozq

springboot 热启动

热启动依赖

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

idea 默认不会进行自动编译,还需要设置 idea 自动编译

Settings>Compiler> 勾选 Build project automatically

shift+ctrl+alt+/ 打开 Registry 。勾选 compiler.automake.allow.when.app.running

分类:

技术点:

相关文章:

  • 2021-05-15
  • 2021-12-25
  • 2022-01-01
  • 2022-01-19
  • 2021-12-11
  • 2022-12-23
  • 2021-09-16
  • 2022-01-19
猜你喜欢
  • 2022-01-10
  • 2022-02-11
  • 2022-03-02
  • 2021-12-05
  • 2021-12-12
  • 2022-03-03
  • 2021-07-14
相关资源
相似解决方案