Hello every one,
I am just get confused because the web.xml data when i using REST Web Service using Jersey
now i have 3 Packages, and every package contain at least one jersey class.
Now when i want to run the project i get always this error
HTML Code:
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes
so after looking for the cause the problem, i notice that all about <param-value> tag
so when
HTML Code:
<param-value>Project's name</param-value>
i got always that error but when i switch it to
HTML Code:
<param-value>package's name</param-value>
it works just only if i run the calss from the same package but when run another class from another package i got again the same error
HTML Code:
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>???</param-value>
</init-param>
so what the problem