SpringBoog三步实现热部署

springboot项目开启热部署步骤

1 引入依赖

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
<!--            <scope>runtime</scope>-->
<!--            <optional>true</optional>-->
        </dependency>

 

2 开启自动编译功能

  

3 Registry

Shift+Ctrl+Alt+/ 选择Registry

 

 

posted @ 2020-09-22 00:33  习惯沉淀  阅读(244)  评论(0编辑  收藏  举报