The JDK compiled version is inconsistent with the current project version.
After modification, restart the service. There is no mistake
POM files can be added as follows
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
Read More:
- Java: compilation failed: internal java compiler error and invalid source distribution resolution
- When using idea to start a project, an error is reported: Error:java : Compilation failed: internal java compiler error
- Java idea Compilation failed: internal java compiler error
- IntelliJ idea error: Java: compilation failed: solution to internal java compiler error
- Idea error: Java: compilation failed: internal java compiler error
- Error:java: Compilation failed: internal java compiler error
- Idea Tomcat start error Error:java : Compilation failed: internal java compiler error
- idea Error:java: Compilation failed: internal java compiler error
- Compliation failed : internal java compiler error
- Error: (44,73) lambda expression and XML are not supported in Java: – source 1.7 Error:java : Compilation failed
- Ubuntu: Failed to initialize compiler: object java.lang.Object In compiler mirror not found
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- java.lang.Error: Unresolved compilation problems
- Some problems and solutions of Java Web
- Compilation failed see the compiler error output for details
- zookeeper Failed to Startup: Error: JAVA_HOME is not set and java could not be found in PATH
- Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;
- Java learning error information 3 — Java notes
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- Solutions to various inexplicable errors after QT compilation