I've tried to switch my Scala/sbt based project to Java 9. If I compile the project with sbt, it works.
If I try to build the project with the Build option of IntelliJ, I get immediately the error
Error:Module 'xyz' production: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
I've tried to add the module as dependency
libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.0"
and added in the compiler settings of IntelliJ (javac as well the scala compiler)
<option name="ADDITIONAL_OPTIONS_STRING" value="--add-modules java.xml.bind" />
but does not help, unfortunately.
