java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(Ljava/lang/String;ILorg/apache/zookeeper/Watcher;Z)Lorg/apache/zookeeper/ZooKeeper;" the class loader (instance of backtype/storm/utils/WorkerClassLoader) of the current class, org/apache/curator/framework/imps/CuratorFrameworkImpl$2, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface org/apache/curator/utils/ZookeeperFactory have different Class objects for the type org/apache/zookeeper/Watcher used in the signature

GitHub | caiyifeng | 4 months ago
  1. 0

    我在使用trident时遇到如下冲突,能否帮忙诊断一下,谢了

    GitHub | 4 months ago | caiyifeng
    java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(Ljava/lang/String;ILorg/apache/zookeeper/Watcher;Z)Lorg/apache/zookeeper/ZooKeeper;" the class loader (instance of backtype/storm/utils/WorkerClassLoader) of the current class, org/apache/curator/framework/imps/CuratorFrameworkImpl$2, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface org/apache/curator/utils/ZookeeperFactory have different Class objects for the type org/apache/zookeeper/Watcher used in the signature
  2. 0

    dev-xmlbeans.apache.org - [jira] Commented: (XMLBEANS-376) LinkageError: loader constraint violation ... when resolving method org.apache.xmlbeans.impl.store.XobjNodeXobj.setUserData - msg#00003 - Recent Discussion OSDir.com

    osdir.com | 8 months ago
    java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.xml.dtm.ref.dom2dtm.DOM2DTMdefaultNamespaceDeclarationNode.getSchemaTypeInfo()Lorg/w3c/dom/TypeInfo;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/xml/dtm/ref/dom2dtm/DOM2DTMdefaultNamespaceDeclarationNode, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Attr have different Class objects for the type org/w3c/dom/TypeInfo used in the signature
  3. 0

    dev-xmlbeans.apache.org - [jira] Commented: (XMLBEANS-396) GML 3.1.1 generated code fails to compile. - msg#00002 - Recent Discussion OSDir.com

    osdir.com | 5 months ago
    java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.xml.dtm.ref.dom2dtm.DOM2DTMdefaultNamespaceDeclarationNode.getSchemaTypeInfo()Lorg/w3c/dom/TypeInfo;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/xml/dtm/ref/dom2dtm/DOM2DTMdefaultNamespaceDeclarationNode, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Attr have different Class objects for the type org/w3c/dom/TypeInfo used in the signature
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Birt Weblogic Deployment Failed Error

    Stack Overflow | 3 years ago | Winds
    java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.xerces.dom.ElementImpl.getSchemaTypeInfo() Lorg/w3c/dom/TypeInfo;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/xerces/dom/ElementImpl, and the clas s loader (instance of &lt;bootloader&gt;) for interface org/w3c/dom/Element have different Class objects for the type org/w3c/dom/TypeInfo used in the signature
  6. 0

    [XMLBEANS-376] LinkageError: loader constraint violation ... when resolving method org.apache.xmlbeans.impl.store.Xobj$NodeXobj.setUserData - ASF JIRA

    apache.org | 11 months ago
    java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.xml.dtm.ref.dom2dtm.DOM2DTMdefaultNamespaceDeclarationNode.getSchemaTypeInfo()Lorg/w3c/dom/TypeInfo;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/xml/dtm/ref/dom2dtm/DOM2DTMdefaultNamespaceDeclarationNode, and the class loader (instance of <bootloader>) for interface org/w3c/dom/Attr have different Class objects for the type org/w3c/dom/TypeInfo used in the signature

    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 "org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(Ljava/lang/String;ILorg/apache/zookeeper/Watcher;Z)Lorg/apache/zookeeper/ZooKeeper;" the class loader (instance of backtype/storm/utils/WorkerClassLoader) of the current class, org/apache/curator/framework/imps/CuratorFrameworkImpl$2, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for interface org/apache/curator/utils/ZookeeperFactory have different Class objects for the type org/apache/zookeeper/Watcher used in the signature

      at org.apache.curator.framework.imps.CuratorFrameworkImpl.makeZookeeperFactory()
    2. Curator Framework
      CuratorFrameworkFactory.newClient
      1. org.apache.curator.framework.imps.CuratorFrameworkImpl.makeZookeeperFactory(CuratorFrameworkImpl.java:169)[curator-framework-2.5.0.jar:na]
      2. org.apache.curator.framework.imps.CuratorFrameworkImpl.<init>(CuratorFrameworkImpl.java:112)[curator-framework-2.5.0.jar:na]
      3. org.apache.curator.framework.CuratorFrameworkFactory$Builder.build(CuratorFrameworkFactory.java:122)[curator-framework-2.5.0.jar:na]
      4. org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:91)[curator-framework-2.5.0.jar:na]
      4 frames
    3. storm.kafka
      DynamicBrokersReader.<init>
      1. storm.kafka.DynamicBrokersReader.<init>(DynamicBrokersReader.java:57)[stormjar.jar:na]
      1 frame
    4. storm.kafka.trident
      ZkBrokerReader.<init>
      1. storm.kafka.trident.ZkBrokerReader.<init>(ZkBrokerReader.java:41)[stormjar.jar:na]
      1 frame
    5. storm.kafka
      KafkaUtils.makeBrokerReader
      1. storm.kafka.KafkaUtils.makeBrokerReader(KafkaUtils.java:57)[stormjar.jar:na]
      1 frame
    6. storm.kafka.trident
      TransactionalTridentKafkaSpout.getCoordinator
      1. storm.kafka.trident.Coordinator.<init>(Coordinator.java:33)[stormjar.jar:na]
      2. storm.kafka.trident.TransactionalTridentKafkaSpout.getCoordinator(TransactionalTridentKafkaSpout.java:41)[stormjar.jar:na]
      2 frames
    7. storm.trident.spout
      PartitionedTridentSpoutExecutor.getCoordinator
      1. storm.trident.spout.PartitionedTridentSpoutExecutor$Coordinator.<init>(PartitionedTridentSpoutExecutor.java:46)[jstorm-core-2.1.1.jar:na]
      2. storm.trident.spout.PartitionedTridentSpoutExecutor.getCoordinator(PartitionedTridentSpoutExecutor.java:149)[jstorm-core-2.1.1.jar:na]
      2 frames
    8. storm.trident.topology
      MasterBatchCoordinator.open
      1. storm.trident.topology.MasterBatchCoordinator.open(MasterBatchCoordinator.java:113)[jstorm-core-2.1.1.jar:na]
      1 frame
    9. com.alibaba.jstorm
      AsyncLoopRunnable.run
      1. com.alibaba.jstorm.task.execute.spout.SpoutExecutors.init(SpoutExecutors.java:142)[jstorm-core-2.1.1.jar:na]
      2. com.alibaba.jstorm.task.execute.spout.MultipleThreadSpoutExecutors.init(MultipleThreadSpoutExecutors.java:64)[jstorm-core-2.1.1.jar:na]
      3. com.alibaba.jstorm.task.execute.BaseExecutors.initWrapper(BaseExecutors.java:154)[jstorm-core-2.1.1.jar:na]
      4. com.alibaba.jstorm.task.execute.spout.MultipleThreadSpoutExecutors.run(MultipleThreadSpoutExecutors.java:76)[jstorm-core-2.1.1.jar:na]
      5. com.alibaba.jstorm.callback.AsyncLoopRunnable.run(AsyncLoopRunnable.java:95)[jstorm-core-2.1.1.jar:na]
      5 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]
      1 frame