users@jersey.java.net

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

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Mon, 15 Dec 2008 09:06:37 -0500

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.

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