users@jersey.java.net

[Jersey] Re: Jersey REST Resource Config

From: Robert Middleton <osfan6313_at_gmail.com>
Date: Fri, 11 Dec 2015 15:20:24 -0500

There's nothing obvious in the log, it looks exactly the same no matter
what my code is. Is there a special log level/logger that has to be set in
order to see more information?

If it helps, I have a small project(only two classes) that I've been using
to try and figure this out.

-Robert Middleton

On Fri, Dec 11, 2015 at 2:20 PM, Bobby Bissett <bbissett_at_gmail.com> wrote:

>
> I think I was a little unclear in my question. I don't want to actually
>> turn on logging, that was just a convenient example. I'm attempting to
>> configure Genson for use with Jersey, but whenever I call the register()
>> method on my Application class I always get a 404 error when attempting to
>> get a value from a REST endpoint. I just tried it again, and even doing
>> the following causes the REST endpoints to no longer work:
>> [...]
>>
>
> Any errors from the Jersey code in the Tomcat server log? If there's
> something going wrong such that Jersey can't run, then you'll get more info
> there, and it would explain the 404 -- there might be no resource there
> because Jersey isn't understanding it.
>
> Cheers,
> Bobby
>
>