I'm trying to setting up spring cloud config server
-Created git repository folder on my local F:\git-local-repository\repository
-linked it using class path link source -Added property file for my service
-After committing my changes on location F:\git-local-repository\repository
-hitting url : http://localhost:8888/limits/default
result in error : org.springframework.cloud.config.server.environment.NoSuchLabelException: No such label: master
Caused by: org.eclipse.jgit.api.errors.RefNotFoundException: Ref master cannot be resolved
Following is my main class of spring boot application
@EnableConfigServer
@SpringBootApplication
public class SpringCloudConfigServerApplication {
public static void main(String[] args) {
SpringApplication.run(SpringCloudConfigServerApplication.class, args);
}
}
application.properties
spring.application.name=spring-cloud-config-server
server.port=8888
spring.cloud.config.server.git.uri=file:////F:/git-local-
repository/repository
expected result: will be showing application property details and other url's