title: Symfony 3 : No route found for "GET /lucky/controller"
body: <p>I'm new to Symfony and wanted to start with Symfony3. I followed the tutorial until I got to 
  <a href="http://symfony.com/doc/current/book/page_creation.html#creating-a-page-route-and-controller" rel="nofollow">http://symfony.com/doc/current/book/page_creation.html#creating-a-page-route-and-controller</a>
  And then I kept having a 404 error on the route <code>/lucky/controller</code> using the URL<code>http://mywebsite/web/app_dev.php/lucky/controller</code>.</p>
  
  <p>I tried with symfony2 and it is working correctly.
  Here is the route (unchanged) :</p>
  
  <p><code>app:
      resource: "@AppBundle/Controller/"
      type:     annotation</code></p>
  
  <p>Here is the controller :</p>
  
  <pre><code>    namespace AppBundle\Controller;
  
      use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
      use Symfony\Component\HttpFoundation\Response;
  
      class LuckyController
      {
          /**
           * @Route("/lucky/number")
           */
          public function numberAction()
          {
              $number = rand(0, 100);
  
              return new Response(
                      '&lt;html&gt;&lt;body&gt;Lucky number: '.$number.'&lt;/body&gt;&lt;/html&gt;'
              );
          }
      }
  </code></pre>
  
  <p>Help ?</p>