Using Spring Cloud Config without Git repo
Run with spring.profiles.active=native. See the File System Backend for more details. You’ll want to set spring.cloud.config.server.native.searchLocations to the dirs you want to look at.
Run with spring.profiles.active=native. See the File System Backend for more details. You’ll want to set spring.cloud.config.server.native.searchLocations to the dirs you want to look at.
Solution for Maven Add the below dependency in the pom.xml file: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-bootstrap</artifactId> </dependency> Solution for Gradle Add in the build.gradle file: implementation(‘org.springframework.cloud:spring-cloud-starter-bootstrap’) That resolved my issue.