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

Solutions on the web2105

  • 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
  • via Coderanch by Raymond Chiu Wing Hing, 4 weeks ago
    /description/WSDL11ToAxisServiceBuilder, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, javax/wsdl/Service, have different Class objects for the type ()Ljavax/xml/namespace/QName; used in the signature
  • via Google Groups by Ana de Gracia Núñez, 3 weeks ago
    org/jboss/classloader/spi/ base/BaseClassLoader) of the current class, freemarker/ext/dom/ SunInternalXalanXPathSupport$1, and the class loader (instance of <bootloader>) for interface com/sun/org/apache/xml/internal/utils/ PrefixResolver have different Class objects for the type org/w3c/dom/ Node used in the signature
  • Stack trace

    • 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(CuratorFrameworkImpl.java:169)[curator-framework-2.5.0.jar:na] at org.apache.curator.framework.imps.CuratorFrameworkImpl.<init>(CuratorFrameworkImpl.java:112)[curator-framework-2.5.0.jar:na] at org.apache.curator.framework.CuratorFrameworkFactory$Builder.build(CuratorFrameworkFactory.java:122)[curator-framework-2.5.0.jar:na] at org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:91)[curator-framework-2.5.0.jar:na] at storm.kafka.DynamicBrokersReader.<init>(DynamicBrokersReader.java:57)[stormjar.jar:na] at storm.kafka.trident.ZkBrokerReader.<init>(ZkBrokerReader.java:41)[stormjar.jar:na] at storm.kafka.KafkaUtils.makeBrokerReader(KafkaUtils.java:57)[stormjar.jar:na] at storm.kafka.trident.Coordinator.<init>(Coordinator.java:33)[stormjar.jar:na] at storm.kafka.trident.TransactionalTridentKafkaSpout.getCoordinator(TransactionalTridentKafkaSpout.java:41)[stormjar.jar:na] at storm.trident.spout.PartitionedTridentSpoutExecutor$Coordinator.<init>(PartitionedTridentSpoutExecutor.java:46)[jstorm-core-2.1.1.jar:na] at storm.trident.spout.PartitionedTridentSpoutExecutor.getCoordinator(PartitionedTridentSpoutExecutor.java:149)[jstorm-core-2.1.1.jar:na] at storm.trident.topology.MasterBatchCoordinator.open(MasterBatchCoordinator.java:113)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.spout.SpoutExecutors.init(SpoutExecutors.java:142)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.spout.MultipleThreadSpoutExecutors.init(MultipleThreadSpoutExecutors.java:64)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.BaseExecutors.initWrapper(BaseExecutors.java:154)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.task.execute.spout.MultipleThreadSpoutExecutors.run(MultipleThreadSpoutExecutors.java:76)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.callback.AsyncLoopRunnable.run(AsyncLoopRunnable.java:95)[jstorm-core-2.1.1.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.