users@jersey.java.net

[Jersey] Re: JSON serialization question

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Thu, 22 Jan 2015 10:07:55 +0100

Hi Laird,

To reduce the number of moving parts, please override
at least the getClasses method in your JAX-RS application subclass.
You will only include your JAX-RS application components there.
This is to avoid quite dangerous class-path scanning.

If it does not help, please share a minimalistic reproducible test case,
so that others could help you out with this.

Thanks,

~Jakub



> On 17 Jan 2015, at 05:57, Laird Nelson <ljnelson_at_gmail.com> wrote:
>
> My war file contains no servlet information—just an Application subclass that does not override any methods—and is not tied to Jersey in any way, just to a JAX-RS runtime.