title: Fatal error: Class 'Doctrine\Bundle\MongoDBBundle\DoctrineMongoDBBundle' not found
body: <p>I'm trying to install mongodb since 3 days but each time, I had a different error message until I fix some of them and I could install mongodb for my Symfony 2.1.4 installation. So now I have this error message:</p>
  
  <pre><code>"Fatal error: Class 'Doctrine\Bundle\MongoDBBundle\DoctrineMongoDBBundle' not found"
  </code></pre>
  
  <p>I couldn't find any solution to solve it.
  For information in my <code>composer.json</code> I added these lines:</p>
  
  <pre><code>    "doctrine/mongodb-odm": "*",
      "doctrine/mongodb-odm-bundle": "v2.0.1"
  </code></pre>
  
  <p>and it creates 3 folders in the Doctrine namespace:</p>
  
  <ul>
  <li>doctrine/mongodb</li>
  <li>doctrine/mongodb-odm</li>
  <li>doctrine/mongodb-odm-bundle</li>
  </ul>
  
  <p>Why is this occurring?</p>