Hi,
I looked up the JAX-RS Specs at
https://jsr311.dev.java.net/nonav/releases/1.1/spec/spec3.html#x3-330003.6
Do we have any samples where annotation inheritance is demonstrated.
I am trying to use it with jersey 1.1.2 but i keep getting the error at startup
com.sun.jersey.api.container.ContainerException: : The ResourceConfig instance does not contain any root resource classes.
I am using tomcat,eclipse (galileo) dynamic web project
I have an interface defined as JAX-RS resource with two annotated methods in
package.one.jersey.interfaces
I have an IMPL implementing the interfaces in
package.one.jersey.resources
in the web.xml i have
<servlet>
<servlet-name>JerseyServletContainer</servlet-name>
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>package.one.jersey.resources</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
Any pointers or work around would be great.
I have a scenario where i have to provide a contract of URL for JAX-RS based implementors.
Providing these interfaces would be great.
Thanks in advance!!!
Regards,
Animesh
From cricket scores to your friends. Try the Yahoo! India Homepage!
http://in.yahoo.com/trynew