Skip to content
Advertisement

Tag: spring-cloud-config

Spring Cloud Configuration Server not working with local properties file – getting need to use a composite configuration

I am configuring the new spring config server and getting the below error. I have tried the below links but no luck Spring Cloud Config Server configuration with local repository spring config server- for local git repository https://medium.com/@danismaz.furkan/spring-cloud-config-with-file-system-backend-c18ae16b7ad5 bootstrap.properties pom.xml Answer You should rename your bootstrap.properties file to application.properties (see Spring Cloud Config Server). And use native profile like @spencergibb

Is there a way in which we can check for presence of data in application.properties file in Spring Boot Project before the tomcat server starts?

I am writing a Spring Boot project to Run a Cloud Config Server and 3 Micro-services to run as a Client. I would want to check availability of all properties in application.properties or yaml file before starting the tomcat server. We already have a similar one for Database Startup Validation, but here I am trying to achieve the same for

Advertisement