title: Doctrine class is not a valid entity or mapped super class
body: <p>I am new to Doctrine and Symfony and I am having a really difficult time creating an entity.</p>
  
  <p>When running the following command:</p>
  
  <p><code>php app/console doctrine:generate:entities Foo/FooBundle/Entity/Company</code></p>
  
  <p>I am getting the following error:</p>
  
  <pre><code> `[Doctrine\ORM\Mapping\MappingException]
    Class "Foo\FooBundle\Entity\Company" is not a valid entity or mapped super class.`
  </code></pre>
  
  <p>Entity/Company.php</p>
  
  <pre><code>   namespace Foo\FooBundle\Entity;
  
      use Doctrine\Common\Annotations\AnnotationReader;
      use Doctrine\ORM\Mapping as ORM;
  
  
       /**
       *@ORM\Entity
       *@ORM\Table(name="product")
       */
  
  
  class Company
  {
     /*
      *@ORM\Id
      *@ORM\Column(type="integer")
      *@ORM\GeneratedValue(strategy="AUTO")
      */
      protected $id;
  
      /*
      *@ORM\Column(type="string", length=250)
      */
      protected $name;
  
      /*
      *@ORM\Column(type="string", length=650)
      */
      protected $description;
  }
  </code></pre>
  
  <p>I have been trying to debug this for quite some time now, I appreciate any advice on how to troubleshoot this problem.</p>
  
  <p>Many thanks in advance!</p>