Hi Rama,
First of all, please direct the email at user group of cxf, not personal
email. :) Besides, more knowledgeable people would be able to respond.
It seems that you have something like the following:
@Path("/")
public Bar getBar();
but class Bar has no @Path annotation or none that matches the URI you
were accessing. The group would be able to better respond/answer the
question if more info is given, e.g. sample service class and object
class with annotation.
Gabo
kalukuri Rama wrote:
Hi
I have come across the above query on sub resource locators.
I am running into similar kind of problem. Can you please help me?
Following is the exception thrown while executing.
*org.jboss.resteasy.spi.InternalServerErrorException: Subresource for
target class has no jax-rs annotations.:*
com.shps.cds.service.resource.JAXBMember
at
org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:132)
at
org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:92)
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:441)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:418)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:111)
at
com.shps.cds.service.MemeberServiceTest.testReadMember(MemeberServiceTest.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
thanks
Rama