'Spring cloud config fails to pick configuration from local file system

I am trying to setup spring cloud config using local file system. However, I couldn't get it working.

Below is my application.properties file:

spring.application.name=spring-cloud-config-servers
server.port=8888
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=classpath:/config

enter image description here

Inside limits-service.properties, I have the following:

limits-service.minimum=4
limits-service.maximum=400

Once i run the server, i get the following. Please help in fixing it.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source