java.lang.NoClassDefFoundError: com/mongodb/casbah/query/dsl/CurrentDateOp

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

    Cannot connect to remote MongoDB from EMR cluster with spark-shell

    Stack Overflow | 8 months ago | Daniel Zendejas
    java.lang.NoClassDefFoundError: com/mongodb/casbah/query/dsl/CurrentDateOp

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/mongodb/casbah/query/dsl/CurrentDateOp

      at com.mongodb.casbah.MongoClient.apply()
    2. casbah-core
      MongoClient.apply
      1. com.mongodb.casbah.MongoClient.apply(MongoClient.scala:218)
      1 frame
    3. com.stratio.datasource
      MongodbPartitioner.isShardedCollection
      1. com.stratio.datasource.mongodb.partitioner.MongodbPartitioner.isShardedCollection(MongodbPartitioner.scala:78)
      1 frame