Fork me on GitHub
#leiningen
<
2016-07-22
>
akiva02:07:53

I’m currently getting an issue with using lein jar or lein uberjar (REPL works just fine). I looks like it’s crapping out with clj-http:

java.lang.NoClassDefFoundError: IllegalName: compile__stub.clj_http.headers.clj-http.headers/HeaderMap, compiling:(clj_http/headers.clj:105:1)
I snooped around and it’s not limited to this particular project. A project I haven’t touched since June of last year and it’s failing there too.

akiva02:07:31

lein run works just fine, too.

akiva02:07:42

I’ve done the usual stuff: lein clean (and even nuking ~/.m2/repository), checked lein deps :tree, adjusted the uberjar profile, and so forth.

akiva02:07:35

Interesting. lein uberjar works if I do a lein install of the offending library.