does anyone know how I might get help for this issue?: https://gist.github.com/kuwze/5f569f3767ac70363afa762960fe17a3
@kuwze Looks like you're running on Java 9? You'll need to update some libraries/versions I think to get that working.
Java 9 broke a lot of stuff 😞
@kuwze if you don't want to upgrade libs yet, you could also try BOOT_JVM_OPTIONS="--add-modules java.xml.bind" boot cljs
@alandipert Is it possible that @kuwze is using an older boot-bin?
I thought the basic dynapath stuff got fixed as of Boot 2.7.0, but needed the entry point app updated too?
i thought it was fixed also but i've seen the xml error
i hope to do release rituals soon, i'll investigate
oh I fixed it
sorry to bother you guys
@kuwze what did you do to fix it?
I added [org.clojure/clojurescript "1.10.238"] before [adzerk/boot-cljs "2.1.4"] in :dependencies
my reply is at the bottom
boot-cljs
uses an older version of ClojureScript that doesn't run on Java 9 I guess. Adding that explicit dependency overrides the transitive dependency in boot-cljs
(the order doesn't actually matter).
Looks like boot-cljs
relies on a pretty old version of ClojureScript by default https://github.com/boot-clj/boot-cljs/blob/master/build.boot#L7 -- I think it's always a good idea to specify an explicit dependency on ClojureScript in your project, so you can control which version you're using.
well it looks like my trick only works once... https://gist.github.com/kuwze/dda566438366f8bf7d054f3b5d8be70d
it seems to be from using boot-reload https://github.com/adzerk-oss/boot-reload
Does Clojure 1.8 run on Java 9? I would change that in your boot.properties
file.
But, yeah, there may be all sorts of dependencies in your setup that cause problems with Java 9...
You will probably need to add an explicit dependency on a recent version of dynapath too.
wait what should I add to boot.properties?
also, where should I be looking to figure out this stuff myself?
wait no it was obvious in boot.properties
but after changing it to 1.9.0 I still get the same error...
Just wanted to eliminate that as a potential cause.
Add this dependency in your build.boot
file: [org.tcrawley/dynapath "1.0.0"]
the classpath conflict line is gone though
That should ensure you're not picking up an older version from anywhere.
same error. and it didn't download anything, so I am assuming I already had that version.
Sorry, I'm out of suggestions at this point... other than "use Java 8 instead?" ¯\(ツ)/¯
how would I go about telling boot to use java 8?
I figured it out; I just had to add a more modern version of http-kit to my dependencies like this: [http-kit "2.3.0"]
@kuwze good to hear, out of curiousity did the BOOT_JVM_OPTIONS
way fix it for you?
@alandipert no... the BOOT_JVM_OPTIONS
didn't work. Only adding http-kit as an explicit dependency fixed it.