spring-attic / spring-cloud-etcd

Apache License 2.0
144 stars 60 forks source link

Sample starts with exception.Could pls kindly help how to fix?.. #41

Open KyleXY1985 opened 7 years ago

KyleXY1985 commented 7 years ago

2017-03-14 14:49:22.471 WARN 3916 --- [ main] o.s.c.etcd.config.EtcdPropertySource : Unable to init property source: config/testEtcdApp

java.io.IOException: null at mousio.etcd4j.promises.EtcdResponsePromise.get(EtcdResponsePromise.java:55) ~[etcd4j-2.7.0.jar:na] at org.springframework.cloud.etcd.config.EtcdPropertySource.init(EtcdPropertySource.java:60) ~[classes/:na] at org.springframework.cloud.etcd.config.EtcdPropertySourceLocator.locate(EtcdPropertySourceLocator.java:63) [classes/:na] at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:89) [spring-cloud-context-1.1.0.BUILD-SNAPSHOT.jar:1.1.0.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:611) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:348) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151) [spring-boot-1.5.2.RELEASE.jar:1.5.2.RELEASE] at org.springframework.cloud.etcd.sample.SampleEtcdApplication.main(SampleEtcdApplication.java:84) [classes/:na]

spencergibb commented 7 years ago

@bbruun your stack trace is unreleated.