Reputation: 309
I'm using maven and dropwizard, getting java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/TSFBuilder
error when I initiate an Object Mapper.
Tried to override the dependency by adding com.fasterxml.jackson.core
version 2.10.0 to POM (also tried a few other versions), but still getting the same error.
Any suggestion?
Upvotes: 11
Views: 17965
Reputation: 309
Resolved. Check out below:
jackson.core
version higher than 2.10.xorg.codehaus.jackson
and it causes dependency conflictsUpvotes: 17