com.datastax.driver.core.TransportException: [/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;)

Stack Overflow | Harry | 3 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

    NoClassDefFoundError - datastax java driver for Cassandra

    codedmi.com | 8 months ago
    com.datastax.driver.core.TransportException: [/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;)
  2. 0

    NoClassDefFoundError - datastax java driver for Cassandra

    Stack Overflow | 3 years ago | Harry
    com.datastax.driver.core.TransportException: [/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;

      at com.datastax.driver.core.DataType.<clinit>()
    2. DataStax Java Driver for Apache Cassandra - Core
      Codec.<clinit>
      1. com.datastax.driver.core.DataType.<clinit>(DataType.java:144)
      2. com.datastax.driver.core.Codec.<clinit>(Codec.java:31)
      2 frames