-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime exception when installing piggieback on Clojure 1.9 + Java 9 #78
Comments
An ancient version of the Closure Compiler is included for some reason. That is the cause, it is not related to Java 9 or Clojure 1.9. |
It looks like If there's a way to exclude transitive dependencies, I would suggest explicitly excluding piggieback's CLJS dep so that |
Well spotted @thheller thank you. I should've thought about transitive dependencies. Trouble is As @cemerick suggested I forced resolution like so: {:deps
{clj-time {:mvn/version "0.14.2"}
org.clojure/clojurescript {:mvn/version "1.9.946"}}
:aliases {:dev {:extra-deps { ;; cider/cider-nrepl {:mvn/version "0.16.0-SNAPSHOT"}
org.clojure/tools.nrepl {:mvn/version "0.2.12"}
com.cemerick/piggieback {:mvn/version "0.2.2"}}
:override-deps {org.clojure/clojurescript {:mvn/version "1.9.946"}}
:extra-paths ["dev"]}}} tbh I smell trouble with this behavior of the resolver in I suppose we can close this issue. Thank you for your help. |
@bhauman just bumped the cljs dep, so I guess that problem is solved now. |
I think the latest Clojurescript release 1.10 fixes JDK 9 compatibility issue caused by xml-bind. Relevant JIRA issue : https://dev.clojure.org/jira/browse/CLJS-2377 . Upgrading it might resolve the issue. |
deps.edn
to reproduceCommand to reproduce:
clj -J'--add-modules=java.xml.bind' -R:dev -C:dev
Result while downloading and compiling:
Note, that cljs compiler seems to work fine. At least I haven't run into any issues performing all steps from Cljs Quick Start guide. That includes building and starting browser repl. Did it with cljs from
deps.edn
not with a standalone jar.May be an issue with Clojure/Cljs or Java 9. Please let me know if worth reporting upstream.
The text was updated successfully, but these errors were encountered: