boonproject / boon

Simple opinionated Java for the novice to expert level Java Programmer. Low Ceremony. High Productivity.
http://richardhightower.github.io/site/Boon/Welcome.html
Apache License 2.0
520 stars 102 forks source link

EtcdClient - java.util.NoSuchElementException #363

Open NirMendel opened 7 years ago

NirMendel commented 7 years ago

Hey,

first of all - I must say that the etcdclient interface is the best interface I've seen for java. great work.

I have a problem when connection to my etcd host: I ran etcd using docker on {HOST}.

I'm writing scala project that uses boon.etcd. I'm using sbt 0.13.11 and scala 2.10. I've built and added boon project to my project.

When I'm using etcd in my project: val uri = "http://" + HOST val client = ClientBuilder.builder().hosts(URI.create(uri)).createClient() I sometime get an exception: java.util.NoSuchElementException

Any idea why?