bootstrap.properties里面的值不能被动态修改,解决:
需要添加spring-cloud-starter-bootstrap 坐标
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
bootstrap.properties里面的值不能被动态修改,解决:
需要添加spring-cloud-starter-bootstrap 坐标
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>