cloth icon indicating copy to clipboard operation
cloth copied to clipboard

leveldbjni-all error when including cloth

Open adamwielowieyski opened this issue 8 years ago • 2 comments

Hi, an interesting error when including cloth 0.3.1 in my boot.jar:

java.util.concurrent.ExecutionException: org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact org.ethereum:leveldbjni-all:jar:1.18 in clojars (https://clojars.org/repo/) org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact org.ethereum:leveldbjni-all:jar:1.18 in clojars (https://clojars.org/repo/)

I suspect this is something to do with dependencies set up in ethereumj; a related comment in the ethereumj issues now suggests upgrading to release 1.3.0.

https://github.com/ethereum/ethereumj/issues/344

Any suggestions as to other possible fixes?

Thanks!

adamwielowieyski avatar Oct 04 '16 14:10 adamwielowieyski

I'm probably going to remove the ethereumj dependency in the next version. But try to make sure you have the ethereumj repo added. Not sure how to do that in boot

In leiningen you would add this key to project.clj:

:repositories [["oss.jfrog.org" "http://dl.bintray.com/ethereum/maven"]]

I need to update the docs. If you figure out how to do it with boot would you do me a favor and create a PR for the README or even just add it as a comment here and I'll update it

pelle avatar Oct 04 '16 17:10 pelle

Briliant, thank you. So this works:

(set-env! :repositories #(conj % ["oss.jfrog.org" "http://dl.bintray.com/ethereum/maven"]))

added to build.boot. I can add this to the README a little later once back at my desktop.

adamwielowieyski avatar Oct 05 '16 02:10 adamwielowieyski