I am trying to set up Spring Cloud Config Server. How to give the spring.cloud.config.server.git.uri in application.properties for Windows?
The uri is this one D:\MicroservicesProject\git-localconfig-repo\test-service.properties
I tried this
spring.cloud.config.server.git.uri=D:\\MicroservicesProject\\git-localconfig-repo\\limits-service.properties
But I am getting this error
Caused by: org.eclipse.jgit.errors.TransportException: D:\MicroservicesProject\git-localconfig-repo\limits-service.properties: not a bundle
Try updating config line as follows:
spring.cloud.config.server.git.uri=file:///C:/Users/win10/Desktop/git-localconfig-repo/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With