title: Class Not found in AppKernel.php
body: <p>I'm trying to deploy my Symfony2 project. When I run the command</p>
  
  <pre><code>php app/console cache:clear --env=prod --no-debug
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>PHP Fatal error: Class 'Acme\MainBundle\AcmeMainBundle' not found in /var/www/html/app/AppKernal.php on line 24
  </code></pre>
  
  <p>This is the in AppKernal.php</p>
  
  <pre><code>public function registerBundles()
  {
      $bundles = array(
          ...
          new Acme\MainBundle\AcmeMainBundle(),
      );
      ...
  }
  </code></pre>
  
  <p>It seems like there's a problem with the namespace?</p>