Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
Windows 7 64bits.
Eclipse Kepler release 2.
*Location*: http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-java-driver/
*User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
*Referrer*: http://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCwQFjAB&url=http%3A%2F%2Fdocs.mongodb.org%2Fecosystem%2Ftutorial%2Fgetting-started-with-java-driver%2F&ei=SNIiVbmCE-Hl7gbM4oCgAg&usg=AFQjCNH1-4yb4tleL0NZPsAlCt0P7S6dZQ&sig2=cI14pXOBAZAnNeuBJrRlzQ&bvm=bv.89947451,d.ZGU
*Screen Resolution*: 1920 x 1080
*repo*: docs-ecosystem
*source*: tutorial/getting-started-with-java-driver
Windows 7 64bits. Eclipse Kepler release 2. *Location*: http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-java-driver/ *User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 *Referrer*: http://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCwQFjAB&url=http%3A%2F%2Fdocs.mongodb.org%2Fecosystem%2Ftutorial%2Fgetting-started-with-java-driver%2F&ei=SNIiVbmCE-Hl7gbM4oCgAg&usg=AFQjCNH1-4yb4tleL0NZPsAlCt0P7S6dZQ&sig2=cI14pXOBAZAnNeuBJrRlzQ&bvm=bv.89947451,d.ZGU *Screen Resolution*: 1920 x 1080 *repo*: docs-ecosystem *source*: tutorial/getting-started-with-java-driver
-
1
-
Docs Sprint 18 - 4/24 (461)
Description
Hi,
I couldn't find type org.bson.Document in mongodb-driver-3.0.0.jar.
Consequently, the following code had a compilation error :
Mongodatabase db = new MongoClient().getDatabase("myDB");
db.getCollection("myCollection");
« The type org.bson.Document cannot be resolved. It is indirectly referenced from required .class files »
Be care to download mongo-java-driver-3.0.0.jar