java.lang.IllegalAccessError: tried to access class com.google.common.cache.LongAdder from class com.google.common.cache.LongAdderBuilder$LongAdderWrapper

DataStax JIRA | Piotr Kołaczkowski | 2 years ago
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. 0

    Spark - Cassandra Integration

    Stack Overflow | 2 years ago | Kavya
    java.lang.IllegalAccessError: tried to access class com.google.common.cache.LongAdder from class com.google.common.cache.LongAdderBuilder$LongAdderWrapper
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access class com.google.common.cache.LongAdder from class com.google.common.cache.LongAdderBuilder$LongAdderWrapper

      at com.google.common.cache.LongAdderBuilder$LongAdderWrapper.<init>()
    2. Guava
      LongAdderBuilder$LongAdderWrapper.<init>
      1. com.google.common.cache.LongAdderBuilder$LongAdderWrapper.<init>(LongAdderBuilder.scala:8)
      1 frame
    3. com.datastax.spark
      OutputMetricsUpdater$TaskMetricsUpdater.<init>
      1. com.datastax.spark.connector.metrics.OutputMetricsUpdater$TaskMetricsSupport$class.$init$(OutputMetricsUpdater.scala:104)
      2. com.datastax.spark.connector.metrics.OutputMetricsUpdater$TaskMetricsUpdater.<init>(OutputMetricsUpdater.scala:143)
      2 frames