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:
- Scala Flink Watermarker Error: Static Methods in interface require -target:jvm-1.8
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back
- Kylin running program reported an error: insufficient permission
- An error is reported in the compiler require of laravel: installation failed, reversing/ composer.json to its original content.
- An error is reported when the file in hive parquet format is written in the Flink connection
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- An error is reported during Java operation due to the problem of static resource export
- Centos-7 set boot to enter the text interface (not enter the graphical interface)
- After the vs2013 + OpenGL environment is set up, there is an error in running the first program
- An error is reported in the idea editor missing return statement
- An error is reported when executing MVN. The diamond operator is not supported in source-1.5
- Rabbitmq reported an error installing the web interface plug-in
- Three methods of how to remove the flashback of running result box in VS
- Two methods of cmake in VTK program
- Failed to import static file of vue3 static resource. There is no static folder
- Mistakes in learning Flink programming
- When using idea to start a project, an error is reported: Error:java : Compilation failed: internal java compiler error
- error C2057: expected constant expression (Can the size of an array in C language be defined when the program is running?)
- Python learning notes (5) — cross entropy error runtimeerror: 1D target tensor expected, multi target not supported