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

java.lang.ExceptionInInitializerError Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter #2

Closed
wangtengda0310 opened this issue Apr 14, 2018 · 1 comment

Comments

@wangtengda0310
Copy link
Contributor

default

default

java.lang.ExceptionInInitializerError
at clojure.main.(main.java:20)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(cljs/util.cljc:1:1)

    at ...
    at ...

    ... 1 more

Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter

    at ...
    at ...

    ... 174 more

Exception in thread "main"

@bbss
Copy link
Owner

bbss commented Apr 14, 2018

You are using java 9 which needs to be run with some launch options:

Comment out the lines here
https://github.com/bbss/cljsc2/blob/master/project.clj#L49
So the line should be

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

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