Describe the bug
Integration with importing aka spring.config.import seems broken since Spring Boot 2.5.1 (with newest spring-cloud-config 3.0.4).
Sample
Actually I don't know on which side the bug is. Here you can find example based on tutorial. You should unpack zip at /tmp/spring-cloud and then run server + client. Client should be run with dev profile. Once you call endpoint http://127.0.0.1:8080/message you should see Hello Dev!. With Spring Boot 2.5.0 it works as expected. However after changing build.gradle of client to:
id 'org.springframework.boot' version '2.5.1'
Configurations are no longer fetched from the server. So you can see only the default value Hello default on http://127.0.0.1:8080/message
spring-config.zip
You can also verify if property message was fetched with help of:
http://127.0.0.1:8080/actuator/env/message
Comment From: wyhasany
Answered in Spring Boot.