当前位置 主页 > 网站技术 > 代码类 >

    springboot 热启动的过程图解

    栏目:代码类 时间:2019-10-14 12:07

    热启动依赖

    <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

    以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持IIS7站长之家。