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 Intel
In addition to the above answers.
If you are not using IntelliJ and running the program from sbt console, I found the following resolved the issue:
Adding the following to your build.sbt:
libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.0"
Adding the import statement to your controller:
import javax.xml._