Which version of the driver are you using?
If using maven, please provide Mongo related elements from your pom.xml.