Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-731

Deploy error (500 - Unexpected error. null) of REST Service with annotation inheritance.

    Details

      Description

      // annotation Inheritance Testing
      import javax.ws.rs.Path
      import javax.ws.rs.POST
      import javax.ws.rs.Produces
      import javax.ws.rs.Consumes
      import javax.ws.rs.PathParam

      public interface GetHtml

      { @POST @Produces("text/html") @Consumes("text/plain") String getHtml(@PathParam("pathParam") String pathParam); }

      @Path("/testAnnotationInheritance")
      public class TestService implements GetHtml {
      @Path("InnerPath/

      {pathParam}

      ")
      public String getHtml(@PathParam("pathParam") String pathParam)

      { return "PathParam:" + pathParam ; }

      }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tolusha Anatoliy Bazko
                Reporter:
                vparfonov Vitaly Parfonov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h