title: Symfony 2.7 routing error?
body: <p>I'm studying Symfony2 making test program. I met some errors about symfony routing error. The error is: </p>
  
  <pre><code>Class AppBundle\Controller\DefaultController does not exist in C:\projects\classic-symfony\src\AppBundle/Controller/ 
  </code></pre>
  
  <p>(which is being imported from <code>"C:\projects\classic-symfony\app/config\routing.yml"</code>).</p>
  
  <p>Certainly I deleted , so 2 lines are written, <code>DefaultController.php</code> in <code>C:\projects\classic-symfony\src\AppBundle/Controller/</code>, and deployed <code>ToppageController.php</code> instead of it.</p>
  
  <p><code>ToppageController.php</code> is very simple and the following,</p>
  
  <pre><code>&lt;?php
  
  namespace AppBundle\Controller;
  use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
  use Symfony\Bundle\FrameworkBundle\Controller\Controller;
  
  class ToppageController extends Controller
  {
      /**
       * @Route("/")
       */
      public function indexAction()
      {
          return $this-&gt;rendor('Toppage/index.html.twig');    
      }
  }
  </code></pre>
  
  <p>Why does this code not work ? This is routing problem ?</p>
  
  <hr>
  
  <p>4.23.2016
  Thank you everyone. I'm out of office so will try and response next week.</p>
  
  <hr>
  
  <p>4.25.2016
  I replied new problem to this reply. Could you help this problem ?</p>