Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring boot Could not locate PropertySource: label not found

I am trying set Spring Cloud Config Server, but the service config server, it the running on port 8888 which is correct, and another service should run on port 18060, but for reason when I startup, it allocate port 8080 for me and the return a warning "Could not locate PropertySource: label not found", what should I do? Thank you !!!

like image 414
Joseph T Avatar asked May 17 '17 02:05

Joseph T


1 Answers

Add @EnableConfigServer at configuration class level or main class of spring boot application and restart the service .it will work .

like image 126
user9963278 Avatar answered Sep 24 '22 14:09

user9963278