Idea running Flink program reported an error: static methods in interface require- target:jvm-1.8

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>

=

Read More: