spring boot热部署

使用热部署提高开发效率,修改代码无需重复启动。配置如下所示:

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <optional>true</optional>
    </dependency>
</dependencies>

重新加载(Intellij IDEA):ctrl+F9

原文地址:https://www.cnblogs.com/lh-cml/p/11007587.html