org.codehaus.jackson versus com.fasterxml.jackson.core

69.6k Views Asked by At

Are org.codehaus.jackson and com.fasterxml.jackson.core related? I have

org.codehaus.jackson jackson-all version 1.7.2

and

com.fasterxml.jackson.core > jackson-databind version 2.4.3

in my pom.xml. I am not sure if they are redundant and can conflict.

1

There are 1 best solutions below

2
On

org.codehaus.jackson is an older version of Jackson.

com.fasterxml.jackson represents the new project and package.

The reason is, Jackson has moved from Codehaus to Github when releasing Jackson 2.

See here for details.

I would recommend removing org.codehaus.jackson references from your POM, re-building and looking for errors (not likely but possible).

If you find any, you can adapt the code using deprecated API to the newer Jackson version's API.