Spring Cloud项目搭建(五)

IDEA配置热部署

1.导入 devtools包
  <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
  </dependency>
2. 设置IDEA 点击File -> Setting -> Complier  构选 Builder project automaticatlly

在这里插入图片描述 3. 连续双击Shift 按键,输入“registry” 在 action 栏中可以看到 “registry…”。构选"compiler.automake.allow.when.app.running"
在这里插入图片描述配置完毕。

猜你喜欢

转载自blog.csdn.net/weixin_42789301/article/details/107326349