Issue
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
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.
Solution
It might be a simple mistake of naming?
For example, your spring application name is "limit-service"
while your property files are named "limits-service"
and that might be why it is not reading them.
Answered By - JCompetence
Answer Checked By - Senaida (JavaFixing Volunteer)