users@jersey.java.net

Re: [Jersey] confusing exception

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Fri, 11 Sep 2009 08:59:12 +0200

On Fri, Sep 11, 2009 at 03:50:26AM +0200, Jordi Domingo wrote:
>
> I was going to ask the same question.I'm using natural notation, JDK6u12 (i tried jdk6u16 a few mins ago) and Glassfish v3 b62.
> I tried adding Jaxb 2.1.11 in my project and setting <class-loader delegate="false"/> but this generates another exception (even if this works its a very ugly solution..)

The version 2.1.12 (2.1.11 is not sufficient) of JAXB is needed when using natural
notation in Jersey. If you installed Jersey via GFv3 update-center client,
this should work out of the box without a need to bundle anything with
your application war file.

Can you please log an issue with your project attached as a reproducible test case?
If you do not want to make it public, please e-mail directly to me.

Another issue is, that the error message should be properly localized, i.e. still in English,
but more verbose and informative in this case. It seems [1] is back again.
Will try to check out once i get your test case.

Thanks,

~Jakub

[1]https://jersey.dev.java.net/issues/show_bug.cgi?id=276



> Thanks for your help.
> Jordi
>
>
>
>
>
>
>
> _________________________________________________________________
> Messenger cumple 10 años ¡Descárgate ya los nuevos emoticonos!
> http://www.vivelive.com/felicidades

-- 
Jakub Podlešák, Software Engineer                                                             
Web Services and Technologies, SUN Microsystems                                               
http://blogs.sun.com/japod