java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object

    Stack Overflow | 9 months ago | BODAPATI VENKATESH
    java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;

      at kafka.consumer.FetchRequestAndResponseMetrics.<init>()
    2. Apache Kafka
      SimpleConsumer.<init>
      1. kafka.consumer.FetchRequestAndResponseMetrics.<init>(FetchRequestAndResponseStats.scala:32)
      2. kafka.consumer.FetchRequestAndResponseStats.<init>(FetchRequestAndResponseStats.scala:46)
      3. kafka.consumer.FetchRequestAndResponseStatsRegistry$$anonfun$2.apply(FetchRequestAndResponseStats.scala:59)
      4. kafka.consumer.FetchRequestAndResponseStatsRegistry$$anonfun$2.apply(FetchRequestAndResponseStats.scala:59)
      5. kafka.utils.Pool.getAndMaybePut(Pool.scala:61)
      6. kafka.consumer.FetchRequestAndResponseStatsRegistry$.getFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:63)
      7. kafka.consumer.SimpleConsumer.<init>(SimpleConsumer.scala:39)
      8. kafka.javaapi.consumer.SimpleConsumer.<init>(SimpleConsumer.scala:34)
      8 frames
    3. org.apache.flink
      FlinkKafkaConsumer082.<init>
      1. org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer.getPartitionsForTopic(FlinkKafkaConsumer.java:695)
      2. org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer.<init>(FlinkKafkaConsumer.java:281)
      3. org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer082.<init>(FlinkKafkaConsumer082.java:49)
      3 frames
    4. com.inndata.flinkkafka
      ReadFromKafka.main
      1. com.inndata.flinkkafka.ReadFromKafka.main(ReadFromKafka.java:19)
      1 frame
    5. 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:498)
      4 frames
    6. flink-clients
      CliFrontend.main
      1. org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:505)
      2. org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:403)
      3. org.apache.flink.client.program.Client.runBlocking(Client.java:248)
      4. org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:866)
      5. org.apache.flink.client.CliFrontend.run(CliFrontend.java:333)
      6. org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1192)
      7. org.apache.flink.client.CliFrontend.main(CliFrontend.java:1243)
      7 frames