java.lang.NoSuchMethodError: org.apache.kafka.common.config.AbstractConfig.<init>(Lorg/apache/kafka/common/config/ConfigDef;Ljava/util/Map;Ljava/lang/Boolean;)V

GitHub | xelax | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 26#230909778

    GitHub | 9 months ago | xelax
    java.lang.NoSuchMethodError: org.apache.kafka.common.config.AbstractConfig.<init>(Lorg/apache/kafka/common/config/ConfigDef;Ljava/util/Map;Ljava/lang/Boolean;)V
  2. 0

    NoSuchMethod

    GitHub | 11 months ago | marcusbb
    java.lang.NoSuchMethodError: org.apache.kafka.common.protocol.SecurityProtocol.nonTestingValues()Ljava/util/Set;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.kafka.common.config.AbstractConfig.<init>(Lorg/apache/kafka/common/config/ConfigDef;Ljava/util/Map;Ljava/lang/Boolean;)V

      at kafka.server.KafkaConfig.<init>()
    2. Apache Kafka
      KafkaConfig.<init>
      1. kafka.server.KafkaConfig.<init>(KafkaConfig.scala:714)
      2. kafka.server.KafkaConfig.<init>(KafkaConfig.scala:716)
      2 frames
    3. net.manub.embeddedkafka
      EmbeddedKafka$.start
      1. net.manub.embeddedkafka.EmbeddedKafkaSupport$class.startKafka(EmbeddedKafka.scala:237)
      2. net.manub.embeddedkafka.EmbeddedKafka$.startKafka(EmbeddedKafka.scala:28)
      3. net.manub.embeddedkafka.EmbeddedKafka$.start(EmbeddedKafka.scala:40)
      3 frames
    4. akka.kafka.scaladsl
      IntegrationSpec.beforeAll
      1. akka.kafka.scaladsl.IntegrationSpec.beforeAll(IntegrationSpec.scala:45)
      1 frame
    5. scalatest
      BeforeAndAfterAll$class.beforeAll
      1. org.scalatest.BeforeAndAfterAll$class.beforeAll(BeforeAndAfterAll.scala:187)
      1 frame
    6. akka.kafka.scaladsl
      IntegrationSpec.beforeAll
      1. akka.kafka.scaladsl.IntegrationSpec.beforeAll(IntegrationSpec.scala:33)
      1 frame
    7. scalatest
      BeforeAndAfterAll$class.run
      1. org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:253)
      1 frame
    8. akka.kafka.scaladsl
      IntegrationSpec.run
      1. akka.kafka.scaladsl.IntegrationSpec.run(IntegrationSpec.scala:33)
      1 frame