Re: ExceptionInInitialization error

2016-05-31 Thread Punit Naik
Nice explanation. On Thursday, February 25, 2016 at 8:46:46 PM UTC+5:30, Gary Verhaegen wrote: > > The lein deps :tree message (on stderr, which may be why it was not > included in your mail?) said: > > > Possibly confusing dependencies found: > [cheshire "5.3.1"] > overrides > [riemann "0.2.10"

Re: ExceptionInInitialization error

2016-02-25 Thread Gary Verhaegen
The lein deps :tree message (on stderr, which may be why it was not included in your mail?) said: Possibly confusing dependencies found: [cheshire "5.3.1"] overrides [riemann "0.2.10"] -> [clj-http "1.1.2" :exclusions [org.clojure/tools.reader]] -> [chesh ire "5.4.0" :exclusions [org.clojure/clo

Re: ExceptionInInitialization error

2016-02-24 Thread Punit Naik
Thank you so much Gary. Updating Cheshire totally worked!! But may I ask how were you able to deduce that Cheshire was the problem? Do tell me so that in the future I can fix these kind of problems myself. On Thu, Feb 25, 2016 at 12:07 PM, Punit Naik wrote: > Okay thanks a lot Gary. Will try tha

Re: ExceptionInInitialization error

2016-02-24 Thread Punit Naik
Okay thanks a lot Gary. Will try that. On Thu, Feb 25, 2016 at 6:49 AM, Gary Verhaegen wrote: > So when I do `lein deps :tree` with these dependencies (except for the > swissknife one, which my computer does not seem to find), I get a > *lot* of conflicts with riemann, starting with: > > $ lein

Re: ExceptionInInitialization error

2016-02-24 Thread Gary Verhaegen
So when I do `lein deps :tree` with these dependencies (except for the swissknife one, which my computer does not seem to find), I get a *lot* of conflicts with riemann, starting with: $ lein deps :tree Possibly confusing dependencies found: [cheshire "5.3.1"] overrides [riemann "0.2.10"] -> [clj

Re: ExceptionInInitialization error

2016-02-24 Thread Punit Naik
Okay. So this is my project.clj: (defproject chowkidar "0.3.0-SNAPSHOT" :description "Formcept Monitoring Framework" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/java.jmx "0.3.0"] [org.clojure/tools.logging "0.3.1"] [riemann/riem

Re: ExceptionInInitialization error

2016-02-24 Thread Gary Verhaegen
No sign of conflict there - that's a bit surprising. Can you post your project.clj? Do you have any explicit exclusions? What did you change last before it broke? Is it possible that you somehow corrupted your Maven repository and are missing the mentioned class? Maybe it's not a dependency issue

Re: ExceptionInInitialization error

2016-02-24 Thread Gary Verhaegen
Caused by:java.lang.ClassNotFoundException:com.fasterxml.jackson.dataformat. cbor.CBORFactory Looks like a dependency problem. If you can't share the whole code, can you please post the result of lein deps :tree On Wednesday, 24 February 2016, Punit Naik wrote: > I was compiling my project and