Config data location 'configserver:http://localhost:8888/' does not exist

Viewed 361

My config server is running on localhost:8888 but when i try to fetch configs from my config server ,its shows this error

Config data location 'configserver:http://localhost:8888/' does not exist

Action:

Check that the value 'configserver:http://localhost:8888/' at class path resource 
[application.properties] - 2:22 is correct, or prefix it with 'optional:'

my other microservice has this application.properties

spring.application.name=limits-service
spring.config.import=configserver:http://localhost:8888/
spring.profiles.active=dev
1 Answers

This worked for me after removing text configserver from

spring.config.import properties

Before
spring.config.import=configserver:http://localhost:8888/

After
spring.config.import=http://localhost:8888/

Related