You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Martin Stiborský <ma...@gmail.com> on 2012/12/05 22:48:06 UTC

XML deserialization with Jackson 2.1.1 - NoClassDefFoundError DelegatingDeserializer

Hello guys,
I have a problem with XML deserialization to POJO class in a java bean,
used in Camel route.
The problem is following exception, when such route is invoked:

java.lang.NoClassDefFoundError:
com/fasterxml/jackson/databind/deser/std/DelegatingDeserializer

I have installed all needed Jackson dependencies in Karaf. The
deserialization works on my workstation, in unit tests.
But I don't get it why it's the class or maybe complete package not
available on Karaf server.

-- 
S pozdravem / Best regards
Martin Stiborský

Jabber: stibi@njs.netlab.cz
Twitter: http://www.twitter.com/stibi

Re: XML deserialization with Jackson 2.1.1 - NoClassDefFoundError DelegatingDeserializer

Posted by Christian Müller <ch...@gmail.com>.
Thanks for sharing it with us.

Best,
Christian

Sent from a mobile device
Am 06.12.2012 19:56 schrieb "Martin Stiborský" <ma...@gmail.com>:

> Fixed https://jira.codehaus.org/browse/JACKSON-879.
>
>
> On Wed, Dec 5, 2012 at 10:48 PM, Martin Stiborský <
> martin.stiborsky@gmail.com> wrote:
>
> > Hello guys,
> > I have a problem with XML deserialization to POJO class in a java bean,
> > used in Camel route.
> > The problem is following exception, when such route is invoked:
> >
> > java.lang.NoClassDefFoundError:
> > com/fasterxml/jackson/databind/deser/std/DelegatingDeserializer
> >
> > I have installed all needed Jackson dependencies in Karaf. The
> > deserialization works on my workstation, in unit tests.
> > But I don't get it why it's the class or maybe complete package not
> > available on Karaf server.
> >
> > --
> > S pozdravem / Best regards
> > Martin Stiborský
> >
> > Jabber: stibi@njs.netlab.cz
> > Twitter: http://www.twitter.com/stibi
> >
> >
>
>
> --
> S pozdravem / Best regards
> Martin Stiborský
>
> Jabber: stibi@njs.netlab.cz
> Twitter: http://www.twitter.com/stibi
>

Re: XML deserialization with Jackson 2.1.1 - NoClassDefFoundError DelegatingDeserializer

Posted by Martin Stiborský <ma...@gmail.com>.
Fixed https://jira.codehaus.org/browse/JACKSON-879.


On Wed, Dec 5, 2012 at 10:48 PM, Martin Stiborský <
martin.stiborsky@gmail.com> wrote:

> Hello guys,
> I have a problem with XML deserialization to POJO class in a java bean,
> used in Camel route.
> The problem is following exception, when such route is invoked:
>
> java.lang.NoClassDefFoundError:
> com/fasterxml/jackson/databind/deser/std/DelegatingDeserializer
>
> I have installed all needed Jackson dependencies in Karaf. The
> deserialization works on my workstation, in unit tests.
> But I don't get it why it's the class or maybe complete package not
> available on Karaf server.
>
> --
> S pozdravem / Best regards
> Martin Stiborský
>
> Jabber: stibi@njs.netlab.cz
> Twitter: http://www.twitter.com/stibi
>
>


-- 
S pozdravem / Best regards
Martin Stiborský

Jabber: stibi@njs.netlab.cz
Twitter: http://www.twitter.com/stibi