I just went through this myself, and found the same struggle.  One of the
challenges is that with Jackson 2.0 is that the JAXB stuff is now in
separate github projects, and there weren't any jars available.  I had to
clone the github projects and build.  I don't use spring in my app directly
but I do use the spring beans in the CXF configuration file. It was
difficult to try and define the parameters I needed directly in there so I
opted to extend the jackson jaxb provider class and then refer to my
provider within the spring configuration file.  As Sergey mentioned, you
also need to use CXF 2.7.6 or greater otherwise you run into another
problem.


*Aaron Titus*
Senior Software Engineer
F.W. Davison & Company, Inc.
508-747-7261 x245
[email protected]



On Wed, Nov 6, 2013 at 11:47 AM, KARR, DAVID <[email protected]> wrote:

> I'm trying to investigate integrating Jackson 2.x into a Spring CXF JAX-RS
> prototype, using JAXB annotations to facilitate both XML and JSON
> rendering.  I've browsed the Jackson documentation, but it seems scattered.
>  I have an older CXF JAX-RS app using Jackson 1.x, but I'd like to see what
> the newer Jackson does.  I've seen some examples on the web using the older
> Jackson, but not the new one.  Is there a straightforward guide to this
> somewhere?
>

Reply via email to