spring-cloud-dependencies 2021.0.3 spring-cloud-dependencies不再默认加载bootstrap.yaml 文件,如果需要加载bootstrap.yaml 文件需要手动添加依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>