The download
task is throwing this error for me in every package directory:
clojure.lang.ExceptionInfo: java.lang.NoClassDefFoundError: IllegalName: compile__stub.clj_http.headers.clj-http.headers/HeaderMap, compiling:(clj_http/headers.clj:105:1)
Has anybody seen this? @juhoteperiI’m not sure what changed in my environment since the last time I created a package.
I remember seeing some problems with clj-http but not sure if they were the same
First step would be to check deps tree for clj-http version
well with some experimenting I found that it only occurs when my BOOT_CLOJURE_VERSION is 1.8. 1.7 works fine
I remembered that I changed that earlier this week
also, clj-http doesn’t show up in the deps tree because it’s loaded in a pod?
but it looks like version 2.1.0 is used: https://github.com/cljsjs/boot-cljsjs/blob/6a7eb93f859331db031269c8777be851e228e379/src/cljsjs/boot_cljsjs/packaging.clj#L72
hmm yeah
I'm using 2.1 fine with clj 1.8 in an app
weird. I’m not even sure what a java.lang.NoClassDefFoundError: IllegalName:
means
if anyone else notices that problem we could maybe change the clj-http version or use clj-http-lite and see if that fixes it
Yeah, clj-http-lite would probably be a good option. Only thing required compared to basic URL slurp is follow redirects