7 months ago
This build does not fail in several other environments (and also in different JDK versions).
The message always gives the following error, which seems to be connected to Maven running under a different JDK version than the target version. The proper environment variable has been set and the build seems to use the jdk21, but the error still occurs:
9.825 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project Hausverwaltung: Fatal error compiling: error: release version 21 not supported -> [Help 1]
9.825 [ERROR]
9.825 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
9.825 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
9.825 [ERROR]
9.825 [ERROR] For more information about the errors and possible solutions, please read the following articles:
9.825 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies