三步搞定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

猜你喜欢

转载自blog.csdn.net/hyx1249273846/article/details/113957183