I was getting errors with 2.x version of quarkus and also in the maven repository I see that lowest version of quarkus-azure-keyvault as per mavan repo is as below:
<!-- .quarkiverse.azureservices/quarkus-azure-keyvault -->
<dependency>
<groupId>io.quarkiverse.azureservices</groupId>
<artifactId>quarkus-azure-keyvault</artifactId>
<version>1.0.3</version>
</dependency>
it says it is compile dependency with 3.10 of Quarkus.arc.
Errors are as below:
[ERROR] Errors: [ERROR] xxxx.testGetJobStatus » Runtime java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkiverse.azure.keyvault.secret.deployment.KeyVaultSecretProcessor#reflectiveHierarchyClass threw an exception: java.lang.NoSuchMethodError: 'io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem$Builder io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.builder(.jboss.jandex.Type)' at io.quarkiverse.azure.keyvault.secret.deployment.KeyVaultSecretProcessor.lambda$reflectiveHierarchyClass$2(KeyVaultSecretProcessor.java:95) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
Can you please confirm if 2.x version of quarkus is compatible with Azure key vault, or should we upgrade to 3.X and if so, what version if 3.X is compatible with Azure Key vault?
I was getting errors with 2.x version of quarkus and also in the maven repository I see that lowest version of quarkus-azure-keyvault as per mavan repo is as below:
<!-- https://mvnrepository/artifact/io.quarkiverse.azureservices/quarkus-azure-keyvault -->
<dependency>
<groupId>io.quarkiverse.azureservices</groupId>
<artifactId>quarkus-azure-keyvault</artifactId>
<version>1.0.3</version>
</dependency>
it says it is compile dependency with 3.10 of Quarkus.arc.
Errors are as below:
[ERROR] Errors: [ERROR] xxxx.testGetJobStatus » Runtime java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors [error]: Build step io.quarkiverse.azure.keyvault.secret.deployment.KeyVaultSecretProcessor#reflectiveHierarchyClass threw an exception: java.lang.NoSuchMethodError: 'io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem$Builder io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem.builder(.jboss.jandex.Type)' at io.quarkiverse.azure.keyvault.secret.deployment.KeyVaultSecretProcessor.lambda$reflectiveHierarchyClass$2(KeyVaultSecretProcessor.java:95) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
Can you please confirm if 2.x version of quarkus is compatible with Azure key vault, or should we upgrade to 3.X and if so, what version if 3.X is compatible with Azure Key vault?
Share Improve this question asked Mar 28 at 4:01 laxmilaxmi 111 bronze badge1 Answer
Reset to default 1Quarkus extensions for Azure services are built with Quarkus 3.x, I confirm that 2.x version of Quarkus is not compatible with Quarkus extension for Azure Key Vault. The latest version 1.1.2 of Azure Key Vault extension uses Quarkus 3.19.0, and the oldest version 1.0.3 uses Quarkus 3.10.0, details pls reference compatibility matrix.