users@jersey.java.net

[Jersey] Re: JsonJaxbModule for JAX-RS 2.0

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Mon, 29 Jul 2013 13:01:46 +0200

Hi Nick,

Please see the list of required dependencies at [1].

MOXy JSON feature configuration should be described at [2],
i.e. when you add jersey-media-moxy and it's dependencies to your
class-path, the MOXy JSON support should be turned on automatically.

HTH,

~Jakub

[1]https://jersey.java.net/project-info/2.1/jersey/project/jersey-media-moxy/dependencies.html
[2]https://jersey.java.net/documentation/latest/media.html#json.moxy

On Jul 26, 2013, at 6:47 PM, Nick Khamis <symack_at_gmail.com> wrote:

> Hello Everyone,
>
> We are getting the MessageBodyWriter not found when creating a resource that produces
> json. The quick googling I found maven solution however, we do not use maven. Also, I could
> not find the binary for JsonJaxbModule in jersey. We do use web.xml for the project, but not sure which dependency we need to add.
>
> Thanks in Advance,
>
> Nick.