springcloud-config配置异常Cannot clone or checkout repository 和 Authentication is required but no CredentialsProvider has been registered解决过程

Cannot clone or checkout repository, 出现这个异常,通过检查是因为自己本地没有配置 ssh,所以配置了,
https://blog.csdn.net/zy_281870667/article/details/79676590

同时也配置了 git的账号密码,之后还是出现了 异常,
Authentication is required but no CredentialsProvider has been registered
https://blog.csdn.net/xiaocai9999/article/details/105341632

之后看到这个文章, 对比自己的配置, 发现可能是 账号密码的层级写的不对, 我配置的是

改正后是:

再次测试 成功了

Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException 解决过程
后来切换了分支: 有异常了: Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException, 意思是在git中找不到这个仓库异常
检查了一下是由于 springcloud-config的 yml文件中配置的 git仓库地址,少了一个字母

原文地址:https://www.cnblogs.com/lvcai/p/13527769.html