users@jersey.java.net

Re: [Jersey] can't output json

From: Naresh <Srinivas.Bhimisetty_at_Sun.COM>
Date: Fri, 10 Jul 2009 13:47:12 +0530

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
>
>