Skip to content
Discussion options

You must be logged in to vote

Correction / root cause found. My earlier answer was wrong — the native-build-tools plugin version does matter, and the cause is the GraalVM Reachability Metadata Repository (<metadataRepository>), not the shaded-vs-non-shaded choice.

Setup: Spring Boot 4.0.6, GraalVM CE 25, Pulsar via the default shaded pulsar-client-all, --initialize-at-run-time=...,org.apache.pulsar.shade.io.netty.

Symptom on Linux native runtime (works on the JVM, and the same binary only WARNs on macOS):

NoClassDefFoundError: Could not initialize class org.apache.pulsar.shade.io.netty.util.internal.PlatformDependent
  at ...NioEventLoop.<clinit> ... PulsarClientImpl.<init> (building the EventLoopGroup)

Evidence (via m…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JeffHu88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant