Hi

Do you have a JAX-RS method with @Path annotation only, no @GET/etc, which returns a Set ? If so then this return value would be considered to be a dynamic JAX-RS subresource.

Sergey

On 23/09/15 16:44, Pratt, Jason wrote:
Hello Everyone - I just started seeing this in our logs, why is cxf complaining 
about using a Set?

2015-09-23 08:25:56,247 | WARN  | qtp1140137042-69 | ResourceUtils              
      | 197 - org.apache.cxf.cxf-rt-frontend-jaxrs - 3.1.1 | No resource 
methods have been found for resource class java.util.LinkedHashSet
2015-09-23 08:25:56,247 | ERROR | qtp1140137042-69 | JAXRSInvoker               
      | 197 - org.apache.cxf.cxf-rt-frontend-jaxrs - 3.1.1 | No subresource 
locator found for path /
2015-09-23 08:25:56,253 | WARN  | qtp1140137042-69 | 
WebApplicationExceptionMapper    | 197 - org.apache.cxf.cxf-rt-frontend-jaxrs - 
3.1.1 | javax.ws.rs.NotFoundException: HTTP 404 Not Found
         at 
org.apache.cxf.jaxrs.utils.SpecExceptions.toNotFoundException(SpecExceptions.java:89)
         at 
org.apache.cxf.jaxrs.utils.ExceptionUtils.toNotFoundException(ExceptionUtils.java:122)


Thanks,
Jason


Reply via email to