Native Build Fails for Quarkus with AWS ServiceDiscovery Dependency Due to Unsupported Method java.lang.Object.wait0(long)
I’m encountering a fatal error while trying to build a Quarkus application natively using the mvn clean package -Pnative
command. The build fails when I include the software.amazon.awssdk:servicediscovery
dependency from the AWS SDK. The error indicates that the method java.lang.Object.wait0(long)
is unsupported during the native image build process with GraalVM.