Getting an error in Jackson's library code

We are using dropwizard version 0.6.3. When we try to update version 0.7.0, we get this error when the service starts.

An exception in the main thread java.lang.VerifyError: class com.fasterxml.jackson.module.afterburner.deser.SuperSonicBeanDeserializer overrides the final deserialization method. (Lcom / quickxml / jackson / core / JsonParser; Lcom / quickxml / jackson / DataBind / DeserializationContext;) Ljava / languages ​​/ Object;

Tried searching, got no solution. When I looked at the SuperSonicBeanDeserializer class, it has one override method. But the SuperSonicBeanDeserializer class is final. I am not sure how to solve this problem. Any solution / suggestion will help us a lot.

+8
jackson dropwizard
source share
1 answer

Look at the maven dependency tree to find where the problem is:

mvn dependency:tree -Dverbose

Look for “omitted for conflict” in the results. You probably have a jackson-databind version older than 2.3.0 that overrides the version in Dropwizard 0.7.

+10
source share

All Articles