idea下springboot项目实现热部署

第一步 :引入jar包

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

第二步:设置idea自动编码

 第三步:注册信息 快捷键 ctrl+alt+shift+/

 

原文地址:https://www.cnblogs.com/gaoyangliu/p/12882148.html