dyc87112 / spring-cloud-config-admin

Spring Cloud Config的综合管理后台(简称:SCCA)
https://dyc87112.github.io/spring-cloud-config-admin-doc/
Apache License 2.0
658 stars 262 forks source link

配置中心-列表模式无数据 #157

Closed newWSmile closed 5 years ago

newWSmile commented 5 years ago

image

列表模式无数据 但是我点击配置中心获取是可以看到数据的 如下图 image

然后点击新增配置 image

点击保存后报错如下 image

newWSmile commented 5 years ago

自查:在进行多项目配置的时候,需要加入spring.cloud.config.server.git.search-paths=/{application} 。特别注意前面那个反斜杠 因为如果没有反斜杠会导致 git add 项目的时候找到路径是随机目录名+你项目名组成的文件夹下 这个是新的不存在的文件夹。 如下图 image 这样会导致 git command命令报错 。从而导致楼主的问题