Skip to content
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

Fails on Java 9? #483

Closed
rnikander opened this issue Dec 5, 2017 · 2 comments
Closed

Fails on Java 9? #483

rnikander opened this issue Dec 5, 2017 · 2 comments

Comments

@rnikander
Copy link

Is lein-cljsbuild supposed to work on Java 9? It works fine on Java 8, but if I use Java 9 I get the error below. (I'm on macOS.)

$ lein cljsbuild once
Compiling ClojureScript...
Compiling 17 source files to /Users/rob/.../target/default/classes
Exception in thread "main" java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(cljs/util.cljc:1:1)
   at clojure.lang.Compiler.load(Compiler.java:7526)
   at clojure.lang.RT.loadResourceScript(RT.java:379)
   at clojure.lang.RT.loadResourceScript(RT.java:370)
   at clojure.lang.RT.load(RT.java:460)
   at clojure.lang.RT.load(RT.java:426)
@danielcompton
Copy link
Contributor

Hi @rnikander there are a few things you need to do to get ClojureScript projects working with Java 9, this isn't a cljsbuild bug. See https://www.deps.co/blog/how-to-upgrade-your-clojure-projects-to-use-java-9/ for more details.

@rnikander
Copy link
Author

Thank you for the info. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants