title: Doctrine Proxy not found
body: <p>I'm trying to set up the Symfony CMF with Doctrine PHPCR-ODM. Unfortunately, whenever I want to save some data from Sonata Admin into the database, I get the following exception:</p>
  
  <pre><code>Compile Error: Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition():
      Failed opening required 
      '/Applications/XAMPP/xamppfiles/htdocs/app/cache/dev/doctrine/PHPCRProxies/__CG__DoctrineODMPHPCRDocumentGeneric.php'
  </code></pre>
  
  <p>I have initialized the repository multiple times and deleted the cache too, but nothing helped.</p>
  
  <p>Does anybody have an idea, why this file is missing? How could this file being generated?</p>