问题:idea进行springBoot热部署失败
原因:出现这种情况,并不是热部署配置的问题
根本原因是idea默认不自动编译 需要设置为自动编译
设置步骤:(1) file— settings— Compiler— 勾选 Build project automaticlly
(2) 按ctrl+shift+Alt+/— 选择Registry— 勾选 compiler.automake.allow.when.app.running
【附.springBoot热部署相关坐标】
<!--热部署配置-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>