users@jersey.java.net

Re: [Jersey] still problems with Enum

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Sat, 31 Oct 2009 20:14:18 +0100

Hi,

This is not an issue with Jersey or JAXB.

You are using a stubbed version of the JPA jar on the client side. A
stubbed jar does not have any implementation and is designed to be
used for compilation only.

You will get a similar error if you directly access EnumType.STRING
from your client code.

You need to replace the stubbed version of the JPA jar with a non-
stubbed version (i dunno where that is though).

Paul.


On Oct 31, 2009, at 8:09 PM, Felipe Gaścho wrote:

>> are needed in runtime as well. Does this make some sense to you?
>
> not yet.. I tried eveything here..
>
> the strange point is: why the response renders perfect on the screeen
> (browser) and the same response is not working with the Jersey Client
> ?
>
> something with JAXB .. but it is hard to figure out this one ...
>
> I will try some old JAXB tricks... the last ones I have here :)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>