cljsjs

adamfrey 2016-05-11T21:04:06.000401Z

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

adamfrey 2016-05-11T21:04:43.000402Z

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

juhoteperi 2016-05-11T21:06:13.000403Z

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

juhoteperi 2016-05-11T21:06:43.000404Z

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

adamfrey 2016-05-11T21:10:25.000405Z

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

adamfrey 2016-05-11T21:10:40.000406Z

I remembered that I changed that earlier this week

adamfrey 2016-05-11T21:11:00.000407Z

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

juhoteperi 2016-05-11T21:11:34.000411Z

hmm yeah

juhoteperi 2016-05-11T21:12:00.000412Z

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

adamfrey 2016-05-11T21:12:59.000413Z

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

adamfrey 2016-05-11T21:15:05.000414Z

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

juhoteperi 2016-05-11T21:35:12.000417Z

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