当前位置:主页 > 软件编程 > JAVA代码 >

springboot 热启动的过程图解

时间:2021-04-08 10:40:05 | 栏目:JAVA代码 | 点击:

热启动依赖

<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

您可能感兴趣的文章:

相关文章