java.lang.NoClassDefFoundError: com/datastax/spark/connector/cql/CassandraConnector$

Stack Overflow | user896993 | 6 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

    Spark 2.0 Cassandra Scala Shell Error: NoClassDefFoundError

    Stack Overflow | 6 months ago | user896993
    java.lang.NoClassDefFoundError: com/datastax/spark/connector/cql/CassandraConnector$
  2. 0

    Fetching Cassandra Table Rows using Spark

    Stack Overflow | 2 months ago | Anji
    java.lang.NoClassDefFoundError: Could not initialize class com.datastax.spark.connector.cql.CassandraConnectorConf$

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/datastax/spark/connector/cql/CassandraConnector$

      at com.datastax.spark.connector.SparkContextFunctions.cassandraTable$default$3()
    2. spark-cassandra-connector
      SparkContextFunctions.cassandraTable$default$3
      1. com.datastax.spark.connector.SparkContextFunctions.cassandraTable$default$3(SparkContextFunctions.scala:48)
      1 frame