-
Type: Question
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 4.7.1
-
Component/s: Build
-
None
Summary
collection.drop does not work. Got NoClassDefFoundError for com/mongodb/client/model/DropCollectionOptions
Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).
How to Reproduce
MongoCollection<Document> collection = db.getCollection("test");
collection.drop();
Additional Background
Please provide any additional background information that may be helpful in diagnosing the bug.