BTW because your resource classes are registered using Spring you do
not have to register them using Jersey. Thus if you want you can remove:
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>org.freebxml.omar.server.interfaces.rest</param-value>
</init-param>
from your web.xml and class scanning will only be performed by Spring.
Paul.
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.
>
> 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
>