1.
Check out the version correspondence between springboot and springcloud and springCloudAlibaba
2.
After SpringBoot 2.4.x
the version of , for the support of bootstrap.properties
/ bootstrap.yaml
configuration files (we collectively become Bootstrap
configuration files), the following dependencies need to be imported
config configuration is generally recorded in the bootstrap.yml file
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
<version>3.1.0</version>
</dependency>