`2021-03-24 15:54:31.004 INFO 29368 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2021-03-24 15:54:31.021 INFO 29368 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-03-24 15:54:31.032 ERROR 29368 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Invalid config server configuration.
Action:
If you are using the git profile, you need to set a Git URI in your configuration. If you are using a native profile and have spring.cloud.config.server.bootstrap=true, you need to use a composite configuration.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.692 s
[INFO] Finished at: 2021-03-24T15:54:31+05:30
[INFO] Final Memory: 29M/107M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:run (default-cli) on project prd-config-server: Application finished with exit code: 1 -> [Help 1]
[ERROR] `
I am creating config-server with latest spring cloud version, `
<spring-cloud.version>2020.0.1</spring-cloud.version>
we are always getting below error,
`2021-03-24 15:54:31.004 INFO 29368 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2021-03-24 15:54:31.021 INFO 29368 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-03-24 15:54:31.032 ERROR 29368 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Invalid config server configuration.
Action:
If you are using the git profile, you need to set a Git URI in your configuration. If you are using a native profile and have spring.cloud.config.server.bootstrap=true, you need to use a composite configuration.
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.692 s [INFO] Finished at: 2021-03-24T15:54:31+05:30 [INFO] Final Memory: 29M/107M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:run (default-cli) on project prd-config-server: Application finished with exit code: 1 -> [Help 1] [ERROR] `
bootstarp.yml
spring: profiles: active: composite cloud: config: server: composite:
Please help us to find cause.