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

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

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

    Stack Overflow | 9 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