Specify the version of Maven and the JDK version used by Maven
Modify in pom.xml
<project xmlns="...">
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
...
</project>
Read More:
- MVN error: @ param not found
- Error in Maven packaging web project: webxml attribute is required (or pre existing WEB-INF)/ web.xml if executing in update)
- Diamond types are not supported at this language level appears in IntelliJ
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- Maven invalid source release 11
- The docker copies the win10 host file into the docker container. An error is reported: copying between containers is not supported
- When Maven hits the jar package, an error is reported when executing install, and the symbol cannot be found in a line
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back
- An error is reported when passing data pages using Ajax: Vue is not defined
- An error is reported when the file in hive parquet format is written in the Flink connection
- Mac compiles Doris with MVN and reports an error checkstyle
- Maven compilation error: package does not exist jar package does not exist
- appear Error:java : javacTask: source release 1.7 requires target release 1.7
- javac Task Error source release 1.7 requires target release
- Error resolving version for plugin ‘org.apache.maven.plugins:maven-compiler-plugin’ from the repo…
- JS uses the and or operator, and an error is reported: uncaught rangeerror: maximum call stack size exceeded
- Java: compilation failed: internal java compiler error and invalid source distribution resolution
- After upgrading php7, PHP program prompts an error: operator not supported for strings in causes and Solutions
- An error is reported when the less file is introduced into main.js
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme