
Patched ResourceMethodRegistry:

   public ResourceInvoker getResourceInvoker(HttpRequest request, HttpResponse response)
   {
      List<String> matchedUris = request.getUri().getMatchedURIs(false);
      if (matchedUris == null || matchedUris.size() == 0) return rootSegment.matchRoot(request);
      // resource location 
      String currentUri = request.getUri().getMatchedURIs().get(0);
      return rootSegment.matchRoot(request, currentUri.length());
   }
   
   
   replace:
   String currentUri = request.getUri().getMatchedURIs().get(0);
   with
   String currentUri = request.getUri().getMatchedURIs(false).get(0);