title: Symfony generated Bundle doesn't work
body: <p>I just created a new project with symfony 3.4 and i generated a bundle, the message from the bundle generation said it's all good, then i just start to work just by running clear cache command it display this error message </p>
  
  <blockquote>
    <p>php.exe C:\wamp64\www\bunead\bin\console cache:clear
    Fatal error: Class 'AnnuaireBundle\AnnuaireBundle' not found in C:\wamp64\www\bunead\app\AppKernel.php on line 19</p>
  </blockquote>
  
  <p>here's my Appkernel.php </p>
  
  <pre><code>class AppKernel extends Kernel
  {
      public function registerBundles()
      {
          $bundles = [
              new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
              new Symfony\Bundle\SecurityBundle\SecurityBundle(),
              new Symfony\Bundle\TwigBundle\TwigBundle(),
              new Symfony\Bundle\MonologBundle\MonologBundle(),
              new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
              new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
              new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
              new AppBundle\AppBundle(),
              new AnnuaireBundle\AnnuaireBundle(),
          ];
  </code></pre>