热启动依赖
org.springframework.boot spring-boot-devtools
idea 默认不会进行自动编译,还需要设置 idea 自动编译
Settings>Compiler> 勾选 Build project automatically

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


时间:2023-05-11
热启动依赖
org.springframework.boot spring-boot-devtools
idea 默认不会进行自动编译,还需要设置 idea 自动编译
Settings>Compiler> 勾选 Build project automatically

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

