三步搞定IDEA集成热部署

第一步、在你的SpringBoot项目中添加DevTools依赖

<!-- 热部署DevTools -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>

第二步、打开 Settings,点击 Build,Execution,Deployment设置下的Compiler

DevTools
第三步、双击shift按键(默认是两次shift),会出来一个搜索框,搜索registry,点击action第一个
registry

key

posted @ 2021-02-22 22:01  追风少年潇歌  阅读(58)  评论(0)    收藏  举报