美文网首页
spring cloud config server pull

spring cloud config server pull

作者: rrsunhome | 来源:发表于2019-10-20 10:19 被阅读0次

在使用spring-cloud-config时,如果我们在持续的开发过程中,对远程仓库内容发生改动时,经常会出现c.s.e.MultipleJGitEnvironmentRepository

: Cannot pull from remote the working tree is not

clean.这种报错,这种报错是由于Spring Cloud配置服务器会复制远程git存储库,如果本地副本变得不干净,那么Spring

Cloud配置服务器就不能更新远程存储库中的本地副本。为了解决这个问题,

方案:

1.配置强制拉取属性 force-pull:true

2.删除本地不干净副本/tmpconfig-repo-版本号

报错异常

相关文章

网友评论

      本文标题:spring cloud config server pull

      本文链接:https://www.haomeiwen.com/subject/dxwgjftx.html