2
votes

I have a small java project and I would like to use mongo-java-driver in order to connect to my mongoDB .

I download the latest mongo-java-driver from MongoDB site (mongo-java-driver-2.9.3.jar)

(from here:http://central.maven.org/maven2/org/mongodb/mongo-java-driver/2.9.3/

but it seems that MongoClient isnt in the JAR file.

Any idea?

1
Where do you download it from? - yǝsʞǝla

1 Answers

3
votes

See the answer here: Can't find MongoClient in Java Drivers. Indeed it's in the 2.11.3 jar but not in 2.9.3.