最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Is quarkus 2.X compatible with Azure Key vault? - Stack Overflow

programmeradmin3浏览0评论

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 badge
Add a comment  | 

1 Answer 1

Reset to default 1

Quarkus 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.

发布评论

评论列表(0)

  1. 暂无评论