报错

:::warning 如果没有显示
image.png
可以在 common 包下添加注解 :::

  1. <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-bootstrap -->
  2. <dependency>
  3. <groupId>org.springframework.cloud</groupId>
  4. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  5. <version>3.0.3</version>
  6. </dependency>