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 @nullpointer answer, short instruction how to use --add-modules
--add-modules
Open File -> Settings -> Build, Execution, Deployment -> Compiler, and add --add-modules java.xml.bind to Shared build process VM options
File
Settings
Build, Execution, Deployment
Compiler
--add-modules java.xml.bind
Shared build process VM options