Try lein 2.8.1, if you are using any other version of Leiningen.  There are
known issues with Leiningen versions less than that, combined with Java 9.

Andy

On Tue, Dec 5, 2017 at 7:20 AM, Rob Nikander <rob.nikan...@gmail.com> wrote:

> Hi,
>
> Is this supposed to work? It works with Java 8, but when I use Java 9 I
> get the error below.
>
> Rob
>
> $ java -version
> java version "9.0.1"
> ...
> $ lein cljsbuild auto
> Watching for changes before 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)
> at clojure.core$load$fn__6548.invoke(core.clj:6046)
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at https://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to