After installing JDK9, I get this exception when running my Scala projects. Upgrading Scala to 2.12.2 also didn\'t resolve my problem.
To add to the previous answer I would like to refer to the following answer: https://stackoverflow.com/a/43574427/3751268. I think it covers in details which is the desired way to provide libraries like the jaxb
.
In particular for Scala, I add it like this to my libraryDependencies
:
libraryDependencies += Seq("javax.xml.bind" % "jaxb-api" % "2.3.0")