SpringBoot在IntelliJ中的热重载

加入dev dependency


    org.springframework.boot
    spring-boot-devtools

启用自动build

Settings --> Build-Execution-Deployment --> Compiler
启用项
Build Project Automatically

启用compiler.automake.allow.when.app.running

ctrl+shift+A输入registry,
启用项
compiler.automake.allow.when.app.running

你可能感兴趣的:(SpringBoot在IntelliJ中的热重载)