As described in the section headed "Browser repl" of Quickstart the
repl.clj file doesn't contain any ns clause and is located in the project
directory. I can build the repl with
java --add-modules java.xml.bind -cp cljs.jar:src clojure.main repl.clj
instead of
java -cp cljs.jar:src
It seems it's not finding the repl.clj file, which would point to an incorrect
classpath definition.
There's not much we can do to help without access to your project.clj file.
>From the stack trace, it looks like you may have incorrectly configured the
>source paths (default is "src", I
I don’t know how far away the next release it but is it worth adding a note to
this effect to the Getting Started page?
Alan
--
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
Is there a way to use leiningen with Clojurescript and Java 9 too.
If I try this from the Quickstart:
lein run -m clojure.main repl.clj
I get the following stack trace ...
clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException:
Could not locate cljs/repl__init.class or
Am Donnerstag, 25. Januar 2018 23:14:10 UTC+1 schrieb Johannes:
>
> I'm trying to follow the Clojurescript Quick-Start
>
> I have downloaded the Clojurescript jar as described in the Quick-Start
> guide. I have created the files describe there. But when I try to build
> using the command:
>
>
You can use it with Java9 today if you add a little flag to the command line
Instead of calling
java -cp cljs.jar:src clojure.main build.clj
you call
java --add-modules java.xml.bind -cp cljs.jar:src clojure.main build.clj
That should fix it. The Java9 fix was already applied to ClojureScript
Indeed, I updated to Java 9 a few day ago. Until now I didn't get any
problems using Clojure with Java 9. I seems I have to wait for a Java 9
compatible version of Clojurescript.
Am Freitag, 26. Januar 2018 01:30:34 UTC+1 schrieb Phill Wolf:
>
> The first sentence of the Quick Start says, "The
The first sentence of the Quick Start says, "The only dependencies required
for this tutorial are an installation of Java 8 and the standalone
ClojureScript JAR."
The clue "Caused by: java.lang.ClassNotFoundException:
javax.xml.bind.DatatypeConverter" suggests you might be using Java 9.
--