users@jersey.java.net

[Jersey] Re: Twitter4j & Jersey: WebApplicationException

From: Petr Jurák <petr.jurak_at_gmail.com>
Date: Wed, 9 Mar 2011 15:55:40 +0100

Well, and how about Accept http header? And did you remove JAXB annotation?


2011/3/9 mahan_h <mahorad_at_gmail.com>:
>
> Martin Matula-3 wrote:
>>
>> The client does not seem to expect JSON, which is the reason of the
>> first issue. Regarding the second issue - have you turned on the POJO
>> mapping
>> feature?
>>
>
> I did!
>
>
>  JAX-RS REST Servlet
>  JAX-RS REST Servlet
>  com.sun.jersey.spi.container.servlet.ServletContainer
>
>   com.sun.jersey.api.json.POJOMappingFeature
>   true
>
>  1
>
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Twitter4j-Jersey-WebApplicationException-tp6095973p6153473.html
> Sent from the Jersey mailing list archive at Nabble.com.
>