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

Embedding the REST API leads to AmbiguousResolutionException

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.5.0-alpha4
    • Fix Version/s: 7.5.0, 7.5.0-alpha5
    • Labels:
      None
    • Environment:
      prepackaged Wildfly 10.0.0 distribution

      Description

      I'm embedding the REST API in a custom application that is run on a Wildfly container. With the 7.4.0 distribution (Wildfly 8.2.1) everything worked as it is described in the docs (https://docs.camunda.org/manual/7.4/reference/rest/overview/embeddability/) but with 7.5.0-alpha4 this isn't the case anymore. It seems, that some classes are duplicated in camunda-engine-rest that are pulled in via camunda-engine-rest-core as well.

      I was able to create a workaround here (https://github.com/bentrm/custom-camunda-rest-api-test), by excluding camunda-engine-rest-core and adding missing artifacts myself.

      Ticket #CAM-5672 may be related as it kind of describes the same problem. I'm not sure though.

        Attachments

          Activity

            People

            Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            bentrm Benjamin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: