Can't find MongoClient in Java Drivers

时光毁灭记忆、已成空白 提交于 2019-12-04 23:02:21
codesurgeon

I suggest you grab driver version 2.11.3

The JAR contains the MongoClient class that you're referring to. Latter is new to the MongoDB Java driver and has only been included since version 2.10.0 (The version you are referring to is 2.9.3, as of now the latest driver version is the aforementioned 2.11.3)

Cheers ;)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!