maven_error: release version 5 not supported
5816 ワード

mavenを使用して初期プロジェクトを作成するときに上記のエラーが発生しました.
pom.xmlに追加します.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
</build>
こんなに正常に動作している
📜 https://www.inflearn.com/questions/19302
Reference
この問題について(maven_error: release version 5 not supported), 我々は、より多くの情報をここで見つけました https://velog.io/@aviat/mavenerror-release-version-5-not-supportedテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol