Skip to content

Incorrect jvm --add-modules options #225

@jochasinga

Description

@jochasinga

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

:jvm-opts ["-XX:+IgnoreUnrecognizedVMOptions" "--add-modules=java.xml.bind"]

See also: #198

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions