Closed newWSmile closed 5 years ago
列表模式无数据 但是我点击配置中心获取是可以看到数据的 如下图
然后点击新增配置
点击保存后报错如下
自查:在进行多项目配置的时候,需要加入spring.cloud.config.server.git.search-paths=/{application} 。特别注意前面那个反斜杠 因为如果没有反斜杠会导致 git add 项目的时候找到路径是随机目录名+你项目名组成的文件夹下 这个是新的不存在的文件夹。 如下图 这样会导致 git command命令报错 。从而导致楼主的问题
列表模式无数据 但是我点击配置中心获取是可以看到数据的 如下图
然后点击新增配置
点击保存后报错如下