Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-5155

Cannot use Resteasy-CDI extension with custom JAX-RS application that bundles Camunda classes

    XMLWordPrintable

    Details

      Description

      Reason:
      Resteasy-CDI tries to create beans for every JAX-RS resource and provider, involving creation of proxy classes. This is not possible for org.camunda.bpm.engine.rest.mapper.MultipartPayloadProvider because it is final. Since resteasy-cdi is an implicit module dependency for JAX-RS deployments on JBoss/Wildfly, running into the resulting exception because of this may not be a nice experience for unexperienced users.

      Solution:
      Remove final qualifier from class

      Related forum post:
      https://groups.google.com/forum/#!topic/camunda-bpm-users/gGqKPfIaXYs

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            thorben.lindhauer Thorben Lindhauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: