商城首页欢迎来到中国正版软件门户

您的位置:首页 > 编程开发 >springboot怎么实现热启动

springboot怎么实现热启动

  发布于2023-05-11 阅读(0)

扫一扫,手机访问

热启动依赖

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

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

Settings>Compiler> 勾选 Build project automatically

springboot怎么实现热启动

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

springboot怎么实现热启动

springboot怎么实现热启动

本文转载于:https://www.yisu.com/zixun/368534.html 如有侵犯,请联系admin@zhengruan.com删除

热门关注