IJ error: java: error: release version 5 is not supported
1. Modify pom.xml (my java version is 14.0.1):
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>14.0.1</source>
<target>14.0.1</target>
</configuration>
</plugin>
</plugins>
</build>
2. Modify the project configuration:
(1) Enter the project configuration:
(2) Ensure that the following three version numbers are consistent (also consistent with the pom.xml file)