Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41549

API incompatibility error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • unleash-plugin
    • None

      Created a simple maven project, ticked Unleash, left the defaults as is, triggered the plugin, left the defaults as is:

      [ERROR] Failed to execute goal com.itemis.maven.plugins:unleash-maven-plugin:2.2.3:perform (default-cli) on project promotion-parent: Execution default-cli of goal com.itemis.maven.plugins:unleash-maven-plugin:2.2.3:perform failed: An API incompatibility was encountered while executing com.itemis.maven.plugins:unleash-maven-plugin:2.2.3:perform: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.weld.AbstractCDI.select(Ljavax/enterprise/util/TypeLiteral;[Ljava/lang/annotation/Annotation;)Ljavax/enterprise/inject/Instance;" the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) of the current class, org/jboss/weld/AbstractCDI, and its superclass loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm), have different Class objects for the type /annotation/Annotation;)Ljavax/enterprise/inject/Instance; used in the signature
      [ERROR] -----------------------------------------------------
      [ERROR] realm = plugin>com.itemis.maven.plugins:unleash-maven-plugin:2.2.3
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/home/jenkins/.m2/repository/com/itemis/maven/plugins/unleash-maven-plugin/2.2.3/unleash-maven-plugin-2.2.3.jar
      [ERROR] urls[1] = file:/home/jenkins/.m2/repository/com/itemis/maven/plugins/unleash-scm-provider-git/2.0.2/unleash-scm-provider-git-2.0.2.jar

            shillner Stanley Hillner
            alevinetx Adam L
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: