Intellij IDEA配置SpringBoot项目热启动

 

一、添加POM依赖

<!-- 热部署模块 -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
</dependency>

 

二、IDEA配置

 1、设置Idea   Ctrl+Alt+S

2、 Ctrl+Shift+Alt+ /

 

posted @ 2018-06-21 11:24  牧汜  阅读(243)  评论(0编辑  收藏  举报