title: Symfony2 No Metadata Classes to process
body: <p>After creating entity with:</p>
  
  <pre><code>php app/console doctrine:generate:entity
  </code></pre>
  
  <p>and while using:</p>
  
  <pre><code>php app/console doctrine:schema:update --force
  </code></pre>
  
  <p>I encountered:</p>
  
  <blockquote>
    <p>No Metadata Classes to process.</p>
  </blockquote>
  
  <p><strong>Entity</strong></p>
  
  <pre><code>namespace ISLab\AdminBundle\Entity;
  
  use Doctrine\ORM\Mapping as ORM;
  
  /**
   * @ORM\Entity
   * @ORM\Table(name="menu_items")
   */
  class MenuItem
  {
      /**
       * @ORM\Column(name="id", type="integer")
       * @ORM\Id
       * @ORM\GeneratedValue(strategy="AUTO")
       */
      private $id;
  
      /**
       * @ORM\Column(name="parent", type="integer")
       */
      private $parent;
  
      // ...
  }
  </code></pre>