Closed ghost closed 3 years ago
You do not seem to have a dependency to jackson-databind
(or jackson-core
) so I can't say for sure, but the error definitely looks like you had an old version of jackson-databind
. Maybe Azure SDK bom does not include compliant version settings for Jackson components (there is jackson-bom
that does).
I solved this one by using mvn clean package instead of mvn package in our ci/cd script. I am closing this issue.
The above code does not work. I am getting a java.lang.NoSuchMethodError: com.fasterxml.jackson.dataformat.xml.XmlMapper.coercionConfigDefaults()Lcom/fasterxml/jackson/databind/cfg/MutableCoercionConfig error.
My dependency tree looks ok:
In my pom.xml, I have something like this: