Replies: 1 comment 2 replies
-
@ivanmgb can you share your full pom.xml? I'll move this to Github Discussion, since it's a guidance question. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I downloaded the S3 Transfer manager dependency on Maven repo
<dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>s3-transfer-manager</artifactId> <version>2.21.22</version> </dependency>
Setup my configuration and run my app and I got this error.
Running mvn dependency:tree, I noticed that one of the transitive dependency is
software.amazon.awssdk:s3:jar:2.20.63
Instead of pulling version 2.21.22 as described under the compille dependencies section: https://mvnrepository.com/artifact/software.amazon.awssdk/s3-transfer-manager/2.21.22
The class S3CrtSdkHttpExecutionAttribute was introduced in https://javadoc.io/static/software.amazon.awssdk/s3/2.21.22/software/amazon/awssdk/services/s3/crt/package-summary.html
and is not in version 2.20.63
https://javadoc.io/static/software.amazon.awssdk/s3/2.20.63/software/amazon/awssdk/services/s3/crt/package-summary.html
Expected Behavior
It should pull the correct version based on the dependencies reported by Maven
Current Behavior
The dependency s3-transfer-manager version 2.21.22 pulled software.amazon.awssdk:s3 version 2.20.63
Reproduction Steps
Added the following in the pom.xml
Then run mvn dependency:tree
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
V2
JDK version used
OpenJDK Runtime Environment Zulu17.44+53-CA (build 17.0.8.1+1-LTS)
Operating System and version
Mac Ventura 13.5.2
Beta Was this translation helpful? Give feedback.
All reactions