users@jersey.java.net

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

From: Ray Krueger <raykrueger_at_gmail.com>
Date: Mon, 15 Dec 2008 09:12:28 -0600

> 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.

Does that require any other special annotations? Or is @Path enough?