mongodb - Casbah missing reference error for "MongoCursor" using Eclipse -


i've been getting error whenever i'm using scala libraries mongodb.

bad symbolic reference. signature in implicits.class refers type mongocursor in  package com.mongodb not available. may missing  current classpath, or version on classpath might incompatible  version used when compiling implicits.class.   

i error in response line:
val client = mongoclient("localhost", 27017)

i've tried different versions of various jar files, hasn't fixed it. i've been using up-to-date versions, don't know problem is. won't give me line reference, , can't find reference "mongocursor" type in implicits.class source. feeling i'm missing library, don't know be.

i'm using:
joda-time-2.3.jar
mongo-java-driver-2.11.4.jar
casbah_2.10-2.7.0-snapshot.jar
casbah-commons_2.10-2.7.0-snapshot.jar
casbah-core_2.10-2.7.0-snapshot.jar
casbah-gridfs_2.10-2.7.0-snapshot.jar
casbah-query_2.10-2.7.0-snapshot.jar

you need update java driver 2.7.0-snapshot relies on mongo-java-driver 2.12.0-snapshot - should able find mongocursor correctly.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -