微服务读取不到config配置中心配置信息,Spring Boot无法找到PropertySource:找不到标签Could not locate PropertySource: label not found
服务出现报这个错,
o.s.c.c.c.ConfigServicePropertySourceLocator - Could not locate PropertySource: label not found
主要原因是git的uri配置出现问题了
cloud:
    config:
      label: master
      server:
        git:
         #uri地址改成自己的的config的地址就http或者https地址就可以了.外网的话正常是要配ssh私钥的
          uri: http://192.168.140.130:8081/itoken/itoken-config.git
          search-paths: respo
          username: clx
          password: 123456789
文章来自:https://www.cnblogs.com/Chen-lx/p/12239405.html