Recommended solution: thanks to another blogger in the comments area, Fu moon, for his solution: https://blog.csdn.net/qq_ 42583206/article/details/108375173
If the problem is solved in the above way, it can be ignored below.
A new Maven project is created in IntelliJ idea. The running error is as follows: error: Java does not support release 5
Jdk9 is used for local operation. When testing Java stream operation, the error should be that the Java version used in the project compilation configuration is wrong. You need to check the Java compilation version configuration used in the project and environment.
Click “file” – & gt; “project structure” in IntelliJ to see if the Java version in “project” and “module” columns is consistent with the local version
If not, change to the local java version.
Click “Settings” – & gt; “bulid, execution, deployment” – & gt; “java compiler”, and set the target bytecode version to the local java version. (you can configure project bytecode version to local java version once and for all in default settings)
After the above two steps have been configured, the above error will not be reported after re running.
Once and for all reform through labor:
Thanks to another blogger in the comments area, fumion, for his proposal: https://blog.csdn.net/qq_ 42583206/article/details/108375173
- Perfect solution for IntelliJ idea error “CreateProcess error = 2, system cannot find the specified file”
- The import Maven project appears http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Solutions
- Idea error: error: Java: error: release 5 is not supported
- 解决Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- How to Fix Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- When using idea to start a project, an error is reported: Error:java : Compilation failed: internal java compiler error
- The process of solving Intellij IDEA can’t load jvm DLL error at a time
- Failed to execute goal
- IDEA报Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA
- Android Failure [INSTALL_ FAILED_ VERSION_ Downgrad] solutions
- “Operation now in progress” appears when mounting CIFS
- Eclipse automatic prompt setting method and optimization
- Eclipse Syntax error, annotations are only available if source level is 1.5 or greater
- Writing to settings when appium of Xiaomi mobile phone and oppo mobile phone starts requires:android.permission.WRITE_ SECURE_ SETTINGS
- How to Fix Tomcat Error: Failed to destroy end point associated with ProtocolHandler[ajp-nio-8009]
- error C2471: cannot update program database vc90.pdb
- Error: (44,73) lambda expression and XML are not supported in Java: – source 1.7 Error:java : Compilation failed
- How to add directory plug-ins to jubyter notebook
- How to Fix java.net.ConnectException: Connection refused: connect
- Error report in idea compilation Error:Android Dex : [Project] java.lang.OutOfMemoryError : GC overhead limit exceeded