Incorrect jvm --add-modules options
jochasinga opened this issue · 1 comments
jochasinga commented
Summary
:jvm-opts
in proj.clj
contains an extra =
in --add-modules=java.xml.bind
that results in the following error when run lein prod-build
.
java.lang.module.FindException: Module java.xml.bind not found
Context
Mac OSX
java version 11.0.2
re-natal version 0.11.1
More
This extra :jvm-opts
passed here needs to be fixed to
:jvm-opts ["-XX:+IgnoreUnrecognizedVMOptions" "--add-modules java.xml.bind"]
without =
to work. Otherwise, lein prod-build
would raise
Compiling ClojureScript...
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.bind not found
re-natal/resources/project.clj
Line 18 in 77a672c
See also: #198
mikeThurmond commented
This fix appears to work for me as well