Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-941

Root resource not found


    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.0.4.Final
    • 3.0.2.Final
    • jaxrs
    • None

      I've got two root resources like this:


      public class EndpointA {

      public String f() { return getClass().getName(); }


      public class EndpointB {

      public String f()

      { return getClass().getName(); }


      When going to the URL /endpoints/FOO/B I get an exception
      at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:111) [resteasy-jaxrs-3.0.2.Final.jar:]

      This is based on code that works as expected in JAX-RS 1 jersey and I think it should work according to the matching algorithm.

      If I don't use a parameter (endpoint/ and endpoint/B) in the path, then it works as expected.

            patriot1burke@gmail.com Bill Burke (Inactive)
            spamdaemon_jira Anonymous User (Inactive)
            0 Vote for this issue
            2 Start watching this issue