JsonUnmarshallerContext dependency issue with fasterxml jackson #2927
-
I'm using aws sdk dynamo version 1.12.351 and jackson fasterxml version 2.12.1. It looks like a few other people have the same issue, but it's not resolved. Other related issues: I believe there are some dependency issues with dynamo & jackson, that's why I'm getting the error below. I've provided the error, pom & dependency tree. Help is much appreciated. I've also tried aws sdk version 1.12.410 & jackson fasterxml 2.14.2, but the same error exists.
Here's my pom: Click for pom details
My dependency tree: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @majestique I edited your description and put the pom.xml behind a collapsible section, so it's easier to scroll down.
A side note: the
|
Beta Was this translation helpful? Give feedback.
-
Thanks @debora-ito for the tip, I'll continue trying different dependency configurations. |
Beta Was this translation helpful? Give feedback.
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 shadingcom.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.