Intellij: SBT-based Scala project does not build with Java 9 : <p>I've tried to switch my Scala/sbt based project to Java 9.
If I compile the project with sbt, it works.</p>

<p>If I try to build the project with the Build option of IntelliJ, I get immediately the error </p>

<pre><code>Error:Module 'xyz' production: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
</code></pre>

<p>I've tried to add the module as dependency</p>

<pre><code>libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.0"
</code></pre>

<p>and added in the compiler settings of IntelliJ (javac as well the scala compiler)</p>

<pre><code>  &lt;option name="ADDITIONAL_OPTIONS_STRING" value="--add-modules java.xml.bind" /&gt;
</code></pre>

<p>but does not help, unfortunately.</p>
