Java 9: scala-library must be added as dependency.
error while loading Object, Missing dependency 'object scala in compiler mirror'
<artifactId>jrt</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.scala-lang</groupId>
+ <artifactId>scala-library</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
