小知识:springCloudConfigServer连接git报错:.c.s.e.MultipleJGitEnvironmentRepository : Error occured cloning to base directory.

解决方法:设置跳过ssl校验
spring:
  cloud:
    config:
      server:
        git:
          uri: https://github.com/xxx/spring-cloud-config-repository.git
          username: xxx
          password: yyyy
          default-label: master
          search-paths: config
          skip-ssl-validation: true

posted @ 2020-02-28 21:28  Michael_Chong  阅读(2620)  评论(1编辑  收藏  举报