users@jersey.java.net

Re: [Jersey] can't output json

From: Jesus M. Rodriguez <jmrodri_at_nc.rr.com>
Date: Fri, 10 Jul 2009 10:02:37 -0400

As a n00b, I can confidently say I think so :)

User - http://pastie.org/541340
BaseModel - http://pastie.org/541341
Organization - http://pastie.org/541342

and so on

I've checked all of the model classes and they seem correct.

jesus

On Fri, Jul 10, 2009 at 4:17 AM, Naresh<Srinivas.Bhimisetty_at_sun.com> wrote:
> Hi,
>
>  is the class User, JAXB annotated?
>
> -Naresh
>
> Jesus M. Rodriguez wrote:
>>
>> I've been racking my brain trying to figure out why simple JSON output
>> doesn't work for me.
>> I'm getting this error:
>>
>> SEVERE: A message body writer for Java type, class
>> org.fedoraproject.candlepin.model.User, and MIME media type,
>> application/json, was not found
>>
>> Full stack trace here: http://pastie.org/540558
>>
>> Also, how do you increase the logging of jersey?
>>
>> sincerely,
>> jesus rodriguez
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>