Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Spring Cloud Config Client [Maven] defaults to http://localhost:8888 and NOT consuming bootstrap.yml

$
0
0

Please help on the issue ( We tried upgrade application from 1.5.6-RELEASE app to 2.1.1-RELEASE also to clear the issue, it is giving this error in 2.1.1-RELEASE app as well).

Issue: Spring Cloud Config Client [Maven] defaults to http://localhost:8888 and NOT consuming bootstrap.yml

Spring Boot Config Server versions ( It is Gradle build )

springBootVersion = '2.1.1.RELEASE'springCloudVersion = 'Finchley.RELEASE'

Spring Boot Config Client versions ( It is Maven build )

<version>2.1.1.RELEASE</version><spring-cloud.version>Finchley.RELEASE</spring-cloud.version>

bootstrap.yml has right URI

client config pom.xml

<dependency><groupId>org.springframework.cloud</groupId><artifactId>**spring-cloud-starter-config**</artifactId></dependency></dependencies><dependencyManagement><dependencies><dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-dependencies</artifactId><version>${spring-cloud.version}</version><type>pom</type><scope>import</scope></dependency></dependencies></dependencyManagement>

Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>