Skip to content

JsonUnmarshallerContext dependency issue with fasterxml jackson #2927

Answered by debora-ito
majestique asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @majestique I edited your description and put the pom.xml behind a collapsible section, so it's easier to scroll down.

NoSuchMethodError usually indicates that the method was present at compile time but it was not found at runtime. My guess it's because you are shading com.fasterxml.jackson in your project, or the version you are using does not match with the version expected by the SDK, but I'm not sure. This is not a Java SDK bug, it's an issue with configuring dependencies.

A side note: the aws-java-sdk artifact is adding all the SDK modules as dependencies, and this is not recommended. We recommend to only add the service modules you are going to use.

            <dependency>
     …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by debora-ito
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants