khmarbaise commented on issue #330: URL: https://github.com/apache/maven-compiler-plugin/issues/330#issuecomment-2952282388
The initial output ``` ...release version 24 not supported ``` indicates that you have not used JDK 24+ very likely you are using JDK23 or less... The WARNING output at the beginning: ``` WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/opt/maven/lib/jansi-2.4.1.jar) WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module WARNING: Restricted methods will be blocked in a future release unless native access is enabled ``` can be suppressed via adding the mentioned option to your `.mavenrc` (in your home directory) or using Maven 3.9.10 instead (shown by @slawekjaranowski )... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org