Как дать URI в Windows для Spring Cloud Config с локальным Git-репо? - PullRequest
0 голосов
/ 25 сентября 2019

Я пытаюсь настроить Spring Cloud Config Server.Как указать spring.cloud.config.server.git.uri в application.properties для Windows?

URI - это D: \ MicroservicesProject \ git-localconfig-repo \ test-service.properties

Я пробовал это

spring.cloud.config.server.git.uri=D:\\MicroservicesProject\\git-localconfig-repo\\limits-service.properties

Но я получаю эту ошибку

Caused by: org.eclipse.jgit.errors.TransportException: D:\MicroservicesProject\git-localconfig-repo\limits-service.properties: not a bundle

1 Ответ

0 голосов
/ 25 сентября 2019

Я нашел решение, указав путь к каталогу без указания имени файла.

D:\\MicroservicesProject\\git-localconfig-repo
...