users@jersey.java.net

Re: [Jersey] Re: ContainerException: The ResourceConfig instance does not contain any root resource classes.

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 15 Dec 2008 15:28:35 +0100

On Dec 15, 2008, at 3:06 PM, Farrukh Najmi wrote:

>
> Hi Paul,
>
> You have hit the nail right on the head. I am embarrassed to admit
> that I had forgotten that I was excluding my rest package from
> compilation and forgot to undo that. Sorry to trouble you guys with
> a cockpit error. Thanks again for your help.
>

That's OK. We have all been there :-) i dunno how many times i have
sworn at the C compiler only to find i was editing a different copy of
the source file...

Paul.


> Paul Sandoz wrote:
>> Hi Farrukh,
>>
>> The log is showing that neither Spring or Jersey is detecting the
>> RegistryRestSearchResource class. For example, the resource class
>> is not present in the log line from Spring that contains the text
>> "Pre-instantiating singletons ".
>>
>> I find it odd that both Jersey and Spring cannot find this class
>> i.e. it is as if it does not exist in the war file.
>
>
> --
> Regards,
> Farrukh Najmi
>
> Web: http://www.wellfleetsoftware.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>