You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading graalvm base image from ol8-java11-22.1.0 to ol8-java17-22.3.2 or even ol8-java11-22.2.0, the below error occurs:
#10 10.89 Fatal error: java.lang.IllegalAccessError: class io.micronaut.buffer.netty.NettyFeature (in unnamed module @0x27bcb4ad) cannot access class com.oracle.svm.core.jdk.SystemPropertiesSupport (in module org.graalvm.nativeimage.builder) because module org.graalvm.nativeimage.builder does not export com.oracle.svm.core.jdk to unnamed module @0x27bcb4ad
#10 10.89 at io.micronaut.buffer.netty.NettyFeature.beforeAnalysis(NettyFeature.java:64)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$9(NativeImageGenerator.java:722)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:78)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:722)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:564)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:521)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:407)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:585)
#10 10.89 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)
#10 10.89 ------------------------------------------------------------------------------------------------------------------------
According to comments on this issue, using the gradle task avoids the error. Refer this StackOverflow answer for an example of configuring the plugin
The text was updated successfully, but these errors were encountered:
When upgrading graalvm base image from
ol8-java11-22.1.0
tool8-java17-22.3.2
or evenol8-java11-22.2.0
, the below error occurs:According to comments on this issue, using the gradle task avoids the error. Refer this StackOverflow answer for an example of configuring the plugin
The text was updated successfully, but these errors were encountered: