title: java.lang.NoClassDefFoundError: com/mongodb/connection/BufferProvider
body: <p>I'm trying to connect to mongoDB server from Java Servlet.<br>
  I added the following jars: <b>bson-3.0.4.jar, mongodb-driver-3.0.4-javadoc.jar, mongodb-driver-core-3.0.4.jar</b> and add this jars also to <code>WEB-INF\lib</code> directory.<br><br>
  And when i tried to run the following code:</p>
  
  <pre><code>MongoClient mongoClient = new MongoClient("localhost",27017);
  </code></pre>
  
  <p>I got the following exception:<br></p>
  
  <pre><code>java.lang.NoClassDefFoundError: com/mongodb/connection/BufferProvider
  </code></pre>
  
  <p>What i'm doing wrong?</p>