leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
adam 2020-06-27T01:34:51.294700Z

My uberjar build is failing when I remove:

:dependencies [[ring/ring-mock "0.4.0"]]
…from uberjar profile. Any idea why? I only have that requirement listed in my :dev profile in profiles.clj.
Syntax error compiling new at (cheshire/factory.clj:57:11).
Syntax error (ClassNotFoundException) compiling new at (cheshire/factory.clj:57:11).
com.fasterxml.jackson.core.async.ByteArrayFeeder

Full report at:
/var/folders/p_/kn06r5xx549fd9mbdpqqfcxh0000gn/T/clojure-6891903320140238539.edn
Compilation failed: Subprocess failed (exit code: 1)

2020-06-27T16:26:05.294800Z

try running lein deps :tree , look for conflicts between "jackson" related libraries a common problem is that jackson releases wholly incompatible versions, and depending on what's in your deps, different transitive deps pull different versions of jackson libraries, so a random change in the deps list breaks unrelated deps

2020-06-27T16:26:46.295Z

a common approach is to use clojure.data.json instead of cheshire, as it doesn't require jackson, so removes a source of breakage

adam 2020-06-29T15:05:18.297600Z

This is the only reference I have in the tree to “cheshire” and “jackson”:

[ring/ring-mock "0.4.0" :scope "test"]
   [cheshire "5.8.1"]
     [com.fasterxml.jackson.core/jackson-core "2.9.6"]
     [com.fasterxml.jackson.dataformat/jackson-dataformat-cbor "2.9.6"]
     [com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.9.6"]
     [tigris "0.1.1"]
I don’t have cheshire as one of my direct dependencies.