11

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?

roe
  • 299
  • 1
  • 3
  • 10

1 Answers1

16

Resolved. Check out below:

  • Use jackson.core version higher than 2.10.x
  • Whether your code also uses org.codehaus.jackson and it causes dependency conflicts
roe
  • 299
  • 1
  • 3
  • 10