Fork me on GitHub
#cljsjs
<
2016-05-11
>
adamfrey21:05:06

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? @juhoteperi

adamfrey21:05:43

I’m not sure what changed in my environment since the last time I created a package.

juhoteperi21:05:13

I remember seeing some problems with clj-http but not sure if they were the same

juhoteperi21:05:43

First step would be to check deps tree for clj-http version

adamfrey21:05:25

well with some experimenting I found that it only occurs when my BOOT_CLOJURE_VERSION is 1.8. 1.7 works fine

adamfrey21:05:40

I remembered that I changed that earlier this week

adamfrey21:05:00

also, clj-http doesn’t show up in the deps tree because it’s loaded in a pod?

juhoteperi21:05:00

I'm using 2.1 fine with clj 1.8 in an app

adamfrey21:05:59

weird. I’m not even sure what a java.lang.NoClassDefFoundError: IllegalName: means

adamfrey21:05:05

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

juhoteperi21:05:12

Yeah, clj-http-lite would probably be a good option. Only thing required compared to basic URL slurp is follow redirects