热启动依赖


  org.springframework.boot
  spring-boot-devtools

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 如有侵犯,请联系zhengruancom@outlook.com删除。
免责声明:正软商城发布此文仅为传递信息,不代表正软商城认同其观点或证实其描述。