I\'m using Jackson (in Jersey) to serialize entities, and I\'m migrating from Jackson 1.9 to 2.0. I followed this guide, and at first it seemed like everything worked out ea
I would double-check if you don't have both versions of Jackson in your classpath. The package names in Jackson 2.x got changed to com.fasterxml
from org.codehaus
. This way you don't have some cryptic classpath problem (like a NoClassDefFound
), but if you don't use the proper packages this is the kind of behavior that you'll see.
Also, the annotations were extracted into their own project, jackson-annotations.