一、问题描述
Spring Cloud Config Server 编译报错:NoSuchLabelException: No such label: main
org.springframework.cloud.config.server.environment.NoSuchLabelException: No such label: main
at org.springframework.cloud.config.server.environment.JGitEnvironmentRepository.refresh(JGitEnvironmentRepository.java:314) ~[spring-cloud-config-server-3.1.0.jar:3.1.0]
at
...
Caused by: org.eclipse.jgit.api.errors.RefNotFoundException: Ref main cannot be resolved