SpringBoot自带热加载开发工具

      SpringBoot自带热加载开发工具

maven配置:

<!-- SpringBoot自带热加载开发工具 -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
</dependency>

 IDEA配置

 快捷键:shift+ctrl+alt+/

之后选择Registry...

重启IDEA,这样就会以热加载的方式启动项目

 

posted @ 2018-11-20 22:48  神码是浮云  阅读(202)  评论(0编辑  收藏  举报