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
On my AWS 3, SDK2 app. But when I run my app I get
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kms' defined in class path resource [de/zalando/spring/cloud/config/aws/kms/KmsEncryptionConfiguration$KmsConfiguration.class]: Failed to instantiate [com.amazonaws.services.kms.AWSKMS]: Factory method 'kms' threw exception with message: com/amazonaws/ClientConfigurationFactory
And this is my dep tree
[INFO] +- org.zalando:spring-cloud-config-aws-kms:jar:5.1.2:compile
[INFO] | +- org.springframework:spring-context:jar:6.0.17:compile
[INFO] | +- org.springframework.cloud:spring-cloud-context:jar:4.0.5:compile
[INFO] | - com.amazonaws:aws-java-sdk-kms:jar:1.12.710:compile
[INFO] | - com.amazonaws:jmespath-java:jar:1.12.710:compile
The text was updated successfully, but these errors were encountered:
tamaraita
changed the title
New versions are not supporting Spring Cloud AWS 3
New versions are not supporting Spring Cloud AWS 3 SDK2 correctly
Apr 30, 2024
Thanks for raising. I think you are using wrong coordinates for the library. The coordinates for usage with Spring Boot 3 and Spring Cloud AWS 3.1.1 have changed.
The correct coordinates are (please also include the auto-configure for now as the starter is missing this dependency)
I'm using
<dependency> <groupId>org.zalando</groupId> <artifactId>spring-cloud-config-aws-kms</artifactId> <version>3.1</version> </dependency>
On my AWS 3, SDK2 app. But when I run my app I get
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kms' defined in class path resource [de/zalando/spring/cloud/config/aws/kms/KmsEncryptionConfiguration$KmsConfiguration.class]: Failed to instantiate [com.amazonaws.services.kms.AWSKMS]: Factory method 'kms' threw exception with message: com/amazonaws/ClientConfigurationFactory
And this is my dep tree
[INFO] +- org.zalando:spring-cloud-config-aws-kms:jar:5.1.2:compile
[INFO] | +- org.springframework:spring-context:jar:6.0.17:compile
[INFO] | +- org.springframework.cloud:spring-cloud-context:jar:4.0.5:compile
[INFO] | - com.amazonaws:aws-java-sdk-kms:jar:1.12.710:compile
[INFO] | - com.amazonaws:jmespath-java:jar:1.12.710:compile
The text was updated successfully, but these errors were encountered: