org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform (default-cli) on project ssh-release-test: Execution default-cli of goal com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform failed: An API incompatibility was encountered while executing com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "javax.enterprise.inject.spi.CDI.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, javax/enterprise/inject/spi/CDI, and the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) for interface javax/enterprise/inject/Instance have different Class objects for the type javax/enterprise/util/TypeLiteral used in the signature ----------------------------------------------------- realm = plugin>com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-maven-plugin/2.0.1-SNAPSHOT/unleash-maven-plugin-2.0.1-SNAPSHOT.jar urls[1] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-scm-provider-git/1.2.0/unleash-scm-provider-git-1.2.0.jar urls[2] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/4.3.0.201604071810-r/org.eclipse.jgit-4.3.0.201604071810-r.jar urls[3] = file:/C:/Users/Stanley/.m2/repository/com/jcraft/jsch/0.1.53/jsch-0.1.53.jar urls[4] = file:/C:/Users/Stanley/.m2/repository/com/googlecode/javaewah/JavaEWAH/0.7.9/JavaEWAH-0.7.9.jar urls[5] = file:/C:/Users/Stanley/.m2/repository/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.jar urls[6] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-connector-basic/1.0.2.v20150114/aether-connector-basic-1.0.2.v20150114.jar urls[7] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-transport-file/1.0.2.v20150114/aether-transport-file-1.0.2.v20150114.jar urls[8] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-transport-http/1.0.2.v20150114/aether-transport-http-1.0.2.v20150114.jar urls[9] = file:/C:/Users/Stanley/.m2/repository/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.jar urls[10] = file:/C:/Users/Stanley/.m2/repository/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar urls[11] = file:/C:/Users/Stanley/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar urls[12] = file:/C:/Users/Stanley/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar urls[13] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar urls[14] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/artifact-spy-plugin/1.0.3/artifact-spy-plugin-1.0.3.jar urls[15] = file:/C:/Users/Stanley/.m2/repository/javax/enterprise/cdi-api/1.2/cdi-api-1.2.jar urls[16] = file:/C:/Users/Stanley/.m2/repository/javax/el/javax.el-api/3.0.0/javax.el-api-3.0.0.jar urls[17] = file:/C:/Users/Stanley/.m2/repository/javax/interceptor/javax.interceptor-api/1.2/javax.interceptor-api-1.2.jar urls[18] = file:/C:/Users/Stanley/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar urls[19] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/cdi-plugin-utils/3.1.7/cdi-plugin-utils-3.1.7.jar urls[20] = file:/C:/Users/Stanley/.m2/repository/de/vandermeer/asciitable/0.2.5/asciitable-0.2.5.jar urls[21] = file:/C:/Users/Stanley/.m2/repository/de/vandermeer/asciilist/0.0.3/asciilist-0.0.3.jar urls[22] = file:/C:/Users/Stanley/.m2/repository/junit/junit/4.12/junit-4.12.jar urls[23] = file:/C:/Users/Stanley/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar urls[24] = file:/C:/Users/Stanley/.m2/repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar urls[25] = file:/C:/Users/Stanley/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar urls[26] = file:/C:/Users/Stanley/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar urls[27] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[28] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar urls[29] = file:/C:/Users/Stanley/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar urls[30] = file:/C:/Users/Stanley/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar urls[31] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/org.eclipse.sisu.inject-0.0.0.M5.jar urls[32] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar urls[33] = file:/C:/Users/Stanley/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[34] = file:/C:/Users/Stanley/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[35] = file:/C:/Users/Stanley/.m2/repository/org/apache/maven/shared/maven-invoker/2.2/maven-invoker-2.2.jar urls[36] = file:/C:/Users/Stanley/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.4/maven-plugin-annotations-3.4.jar urls[37] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar urls[38] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-versions-plugin/0.25.0/tycho-versions-plugin-0.25.0.jar urls[39] = file:/C:/Users/Stanley/.m2/repository/de/pdark/decentxml/1.3/decentxml-1.3.jar urls[40] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-core/0.25.0/tycho-core-0.25.0.jar urls[41] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar urls[42] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar urls[43] = file:/C:/Users/Stanley/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar urls[44] = file:/C:/Users/Stanley/.m2/repository/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar urls[45] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar urls[46] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/sisu-equinox-embedder/0.25.0/sisu-equinox-embedder-0.25.0.jar urls[47] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.osgi/3.10.101.v20150820-1432/org.eclipse.osgi-3.10.101.v20150820-1432.jar urls[48] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/sisu-equinox-api/0.25.0/sisu-equinox-api-0.25.0.jar urls[49] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-embedder-api/0.25.0/tycho-embedder-api-0.25.0.jar urls[50] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.embedder.shared/0.25.0/org.eclipse.tycho.embedder.shared-0.25.0.jar urls[51] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.core.shared/0.25.0/org.eclipse.tycho.core.shared-0.25.0.jar urls[52] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-metadata-model/0.25.0/tycho-metadata-model-0.25.0.jar urls[53] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-scm-provider-api/2.0.1-SNAPSHOT/unleash-scm-provider-api-2.0.1-SNAPSHOT.jar urls[54] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-utils/2.0.1-SNAPSHOT/unleash-utils-2.0.1-SNAPSHOT.jar urls[55] = file:/C:/Users/Stanley/.m2/repository/org/jboss/weld/se/weld-se/2.3.3.Final/weld-se-2.3.3.Final.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------

GitHub | shillner | 3 months ago
  1. 0

    GitHub comment 40#242324126

    GitHub | 3 months ago | shillner
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform (default-cli) on project ssh-release-test: Execution default-cli of goal com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform failed: An API incompatibility was encountered while executing com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "javax.enterprise.inject.spi.CDI.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, javax/enterprise/inject/spi/CDI, and the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) for interface javax/enterprise/inject/Instance have different Class objects for the type javax/enterprise/util/TypeLiteral used in the signature ----------------------------------------------------- realm = plugin>com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-maven-plugin/2.0.1-SNAPSHOT/unleash-maven-plugin-2.0.1-SNAPSHOT.jar urls[1] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-scm-provider-git/1.2.0/unleash-scm-provider-git-1.2.0.jar urls[2] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/4.3.0.201604071810-r/org.eclipse.jgit-4.3.0.201604071810-r.jar urls[3] = file:/C:/Users/Stanley/.m2/repository/com/jcraft/jsch/0.1.53/jsch-0.1.53.jar urls[4] = file:/C:/Users/Stanley/.m2/repository/com/googlecode/javaewah/JavaEWAH/0.7.9/JavaEWAH-0.7.9.jar urls[5] = file:/C:/Users/Stanley/.m2/repository/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.jar urls[6] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-connector-basic/1.0.2.v20150114/aether-connector-basic-1.0.2.v20150114.jar urls[7] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-transport-file/1.0.2.v20150114/aether-transport-file-1.0.2.v20150114.jar urls[8] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-transport-http/1.0.2.v20150114/aether-transport-http-1.0.2.v20150114.jar urls[9] = file:/C:/Users/Stanley/.m2/repository/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.jar urls[10] = file:/C:/Users/Stanley/.m2/repository/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar urls[11] = file:/C:/Users/Stanley/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar urls[12] = file:/C:/Users/Stanley/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar urls[13] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar urls[14] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/artifact-spy-plugin/1.0.3/artifact-spy-plugin-1.0.3.jar urls[15] = file:/C:/Users/Stanley/.m2/repository/javax/enterprise/cdi-api/1.2/cdi-api-1.2.jar urls[16] = file:/C:/Users/Stanley/.m2/repository/javax/el/javax.el-api/3.0.0/javax.el-api-3.0.0.jar urls[17] = file:/C:/Users/Stanley/.m2/repository/javax/interceptor/javax.interceptor-api/1.2/javax.interceptor-api-1.2.jar urls[18] = file:/C:/Users/Stanley/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar urls[19] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/cdi-plugin-utils/3.1.7/cdi-plugin-utils-3.1.7.jar urls[20] = file:/C:/Users/Stanley/.m2/repository/de/vandermeer/asciitable/0.2.5/asciitable-0.2.5.jar urls[21] = file:/C:/Users/Stanley/.m2/repository/de/vandermeer/asciilist/0.0.3/asciilist-0.0.3.jar urls[22] = file:/C:/Users/Stanley/.m2/repository/junit/junit/4.12/junit-4.12.jar urls[23] = file:/C:/Users/Stanley/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar urls[24] = file:/C:/Users/Stanley/.m2/repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar urls[25] = file:/C:/Users/Stanley/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar urls[26] = file:/C:/Users/Stanley/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar urls[27] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar urls[28] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar urls[29] = file:/C:/Users/Stanley/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar urls[30] = file:/C:/Users/Stanley/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar urls[31] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/org.eclipse.sisu.inject-0.0.0.M5.jar urls[32] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar urls[33] = file:/C:/Users/Stanley/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar urls[34] = file:/C:/Users/Stanley/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar urls[35] = file:/C:/Users/Stanley/.m2/repository/org/apache/maven/shared/maven-invoker/2.2/maven-invoker-2.2.jar urls[36] = file:/C:/Users/Stanley/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.4/maven-plugin-annotations-3.4.jar urls[37] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar urls[38] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-versions-plugin/0.25.0/tycho-versions-plugin-0.25.0.jar urls[39] = file:/C:/Users/Stanley/.m2/repository/de/pdark/decentxml/1.3/decentxml-1.3.jar urls[40] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-core/0.25.0/tycho-core-0.25.0.jar urls[41] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar urls[42] = file:/C:/Users/Stanley/.m2/repository/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar urls[43] = file:/C:/Users/Stanley/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar urls[44] = file:/C:/Users/Stanley/.m2/repository/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar urls[45] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar urls[46] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/sisu-equinox-embedder/0.25.0/sisu-equinox-embedder-0.25.0.jar urls[47] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.osgi/3.10.101.v20150820-1432/org.eclipse.osgi-3.10.101.v20150820-1432.jar urls[48] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/sisu-equinox-api/0.25.0/sisu-equinox-api-0.25.0.jar urls[49] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-embedder-api/0.25.0/tycho-embedder-api-0.25.0.jar urls[50] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.embedder.shared/0.25.0/org.eclipse.tycho.embedder.shared-0.25.0.jar urls[51] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.core.shared/0.25.0/org.eclipse.tycho.core.shared-0.25.0.jar urls[52] = file:/C:/Users/Stanley/.m2/repository/org/eclipse/tycho/tycho-metadata-model/0.25.0/tycho-metadata-model-0.25.0.jar urls[53] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-scm-provider-api/2.0.1-SNAPSHOT/unleash-scm-provider-api-2.0.1-SNAPSHOT.jar urls[54] = file:/C:/Users/Stanley/.m2/repository/com/itemis/maven/plugins/unleash-utils/2.0.1-SNAPSHOT/unleash-utils-2.0.1-SNAPSHOT.jar urls[55] = file:/C:/Users/Stanley/.m2/repository/org/jboss/weld/se/weld-se/2.3.3.Final/weld-se-2.3.3.Final.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------
  2. 0

    Erro ao executar jetty:run no vraptor-musicjungle

    Google Groups | 3 years ago | William Colen
    java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.weld.Weld.select(Ljavax/enterprise/util/ TypeLiteral;[Ljava/lang/annotation/Annotation;)Ljavax/enterprise/inject/Instance;" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/jboss/weld/Weld, and its superclass loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm), have different Class objects for the type tion/Annotation;)Ljavax/enterprise/inject/Instance; used in the signature at org.jboss.weld.servlet.StaticWeldProvider$WeldSingleton.<clinit>( StaticWeldProvider.java:29) at org.jboss.weld.servlet.StaticWeldProvider.getCDI( StaticWeldProvider.java:49)
  3. 0

    Erro ao executar jetty:run no vraptor-musicjungle

    Google Groups | 3 years ago | William Colen
    java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.weld.Weld.select(Ljavax/enterprise/util/TypeLiteral;[Ljava/lang/annotation/Annotation;)Ljavax/enterprise/inject/Instance;" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/jboss/weld/Weld, and its superclass loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm), have different Class objects for the type tion/Annotation;)Ljavax/enterprise/inject/Instance; used in the signature
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Erro ao executar jetty:run no vraptor-musicjungle

    Google Groups | 3 years ago | William Colen
    java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.weld.Weld.select(Ljavax/enterprise/util/TypeLiteral;[Ljava/lang/annotation/Annotation;)Ljavax/enterprise/inject/Instance;" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/jboss/weld/Weld, and its superclass loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm), have different Class objects for the type tion/Annotation;)Ljavax/enterprise/inject/Instance; used in the signature
  6. 0

    Erro ao executar jetty:run no vraptor-musicjungle

    Google Groups | 3 years ago | William Colen
    java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.weld.Weld.select( Ljavax/enterprise/util/TypeLiteral;[Ljava/lang/ annotation/Annotation;)Ljavax/enterprise/inject/Instance;" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/jboss/weld/Weld, and its superclass loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm), have different Class objects for the type tion/Annotation;)Ljavax/enterprise/inject/Instance; used in the signature at org.jboss.weld.servlet.StaticWeldProvider$ WeldSingleton.<clinit>(StaticWeldProvider.java:29) at org.jboss.weld.servlet.StaticWeldProvider.getCDI( StaticWeldProvider.java:49)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation in interface itable initialization: when resolving method "javax.enterprise.inject.spi.CDI.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, javax/enterprise/inject/spi/CDI, and the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) for interface javax/enterprise/inject/Instance have different Class objects for the type javax/enterprise/util/TypeLiteral used in the signature

      at org.jboss.weld.environment.se.Weld.initialize()
    2. Weld SE (Core)
      Weld.initialize
      1. org.jboss.weld.environment.se.Weld.initialize(Weld.java:562)
      1 frame
    3. com.itemis.maven
      AbstractCDIMojo.execute
      1. com.itemis.maven.plugins.cdi.AbstractCDIMojo.execute(AbstractCDIMojo.java:195)
      1 frame
    4. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
      1 frame
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
      9 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    8. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames