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)

Google Groups | William Colen | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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)

    Root Cause Analysis

    1. 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)

      at javax.enterprise.inject.spi.CDI.current()
    2. JavaEE 7
      CDI.current
      1. javax.enterprise.inject.spi.CDI.current(CDI.java:60)
      1 frame