Spring Cloud project construction (5)

IDEA configuration hot deployment

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

Insert picture description here3. Double-click the Shift button continuously and enter "registry". You can see "registry..." in the action column. The configuration of "compiler.automake.allow.when.app.running"
Insert picture description hereis completed.

Guess you like

Origin blog.csdn.net/weixin_42789301/article/details/107326349