IDEA+DevTools实现热部署功能

Posted 博小园

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了IDEA+DevTools实现热部署功能相关的知识,希望对你有一定的参考价值。

1.POM集成

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

2.IDEA工具启动自动编译功能

 

 3.IDEA 设置为在程序运行过程中,依然允许自动编译

操作: ctrl + shift + alt + /,选择Registry,勾选勾上 Compiler autoMake allow when app running

 

以上是关于IDEA+DevTools实现热部署功能的主要内容,如果未能解决你的问题,请参考以下文章

idea内springboot项目设置热部署

IntelliJ IDEA Spring boot实现热部署

通过spring-boot-devtools在IDEA中实现热部署

使用IDEA 中 实现springboot 热部署 (spring boot devtools版)

spring-boot-devtools在Idea中热部署方法

idea设置热部署Devtools生效