
Solution: add- target:jvm-1.8 To scala compiler

Or in pom.xml Add the following configuration to the file
<configuration>
<addScalacArgs>-target:jvm-1.8</addScalacArgs>
</configuration>
=

Solution: add- target:jvm-1.8 To scala compiler

Or in pom.xml Add the following configuration to the file
<configuration>
<addScalacArgs>-target:jvm-1.8</addScalacArgs>
</configuration>
=