一、导入依赖
<!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
二、pom.xml中导入plugin节点
三、settings勾选自动
四、Ctrl+Shift+Alt+/ 弹出Registry
五、勾选compiler.automake.allow.when.app.running
!!完成以上五步,热部署便配置完成,但是此热部署自动重新启动需等待几秒!!