Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 416
Salman Ahmad Avatar asked Apr 15 '26 20:04

Salman Ahmad


1 Answers

This worked for me after removing text configserver from

spring.config.import properties

Before
spring.config.import=configserver:http://localehost:8080/

After
spring.config.import=http://localehost:8080/

like image 139
Kaushal Avatar answered Apr 18 '26 09:04

Kaushal