double-bundle icon indicating copy to clipboard operation
double-bundle copied to clipboard

javax.xml.bind.DatatypeConverter exception

Open Juleffel opened this issue 7 years ago • 0 comments

Hi, I tried to fork the project on a mac, with Leiningen 2.8.1 on Java 10.0.1 Java HotSpot(TM) 64-Bit Server VM. I had this error:

Exception in thread "main" java.lang.ExceptionInInitializerError
	at clojure.main.<clinit>(main.java:20)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(cljs/closure.clj:1:1)

Solved it by adding:

:jvm-opts ["--add-modules" "java.xml.bind"]

To the project.clj. May be useful to others.

Juleffel avatar Aug 22 '18 15:08 Juleffel