title: Doctrine2 ODM - [Semantical Error]
body: <p>I keep getting this error:</p>
  
  <blockquote>
    <p>PHP Fatal error:  Uncaught exception
    'Doctrine\Common\Annotations\AnnotationException' with message
    '[Semantical Error] The annotation "@Document" in class
    Documents\Translation was never imported.' in
    /home/bmay/devel/svn/wwv/trunk/test_mongo_record/doctrine-mongodb-odm/lib/vendor/doctrine-mongodb-odm/lib/vendor/doctrine-common/lib/Doctrine/Common/Annotations/AnnotationException.php:52</p>
  </blockquote>
  
  <p>Code is simple here:
  
  
  <pre><code>namespace Documents;
  
  /** @Document */
  class Translation
  {
      //private $string;
      //private $date;
  
      /** @String */
      private $name;
  
      public function setName($name) {
          $this-&gt;name = $name;
      }
  
  }
  </code></pre>