title: symfony deployment error: mapped superclass
body: <p>When I deploy a symfony website including mapped superclass entities online, I get the following error:</p>
  
  <pre><code>AnnotationException: [Semantical Error] The annotation "@Doctrine\ORM\Mapping\MappedSuperClass" in class Acme\DemoBundle\Entity\Foo does not exist, or could not be auto-loaded.
  </code></pre>
  
  <p>Worst is, this error doesn't show if we use web/app.php (with debugging mode true), whereas it blocks the programm if you use web/app_dev.php.</p>
  
  <p>I should add that, locally, this error does not show up while using either web/app.php or web/app_dev.php.</p>
  
  <p>Does anyone have a clue about this dark mystery?</p>
  
  <p>Thanks in advance for any hints.</p>