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

ResteasyServletInitializer should ignore client proxy interfaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.6.1.Final, 4.0.0.Beta5
    • None
    • None
    • None

    Description

      Currently, if you use ResteasyServletInitializer and Resteasy Proxy Framework (or MicroProfile Rest Client) you will get something like:

      Caused by: java.lang.RuntimeException: RESTEASY003190: Could not find constructor for class: io.smallrye.restclient.tests.interceptor.HelloClient
      	at org.jboss.resteasy.spi.metadata.ResourceBuilder.constructor(ResourceBuilder.java:713)
      	at org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.registered(POJOResourceFactory.java:42)
      	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:211)
      	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:197)
      	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:183)
      	at org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:160)
      	at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:79)
      	at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:445)
      	at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:258)
      

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: