Symfony 3 YAML routing not working
<p>this is the code for my front controller:</p>

<pre><code>&lt;?php

namespace SystemBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class SystemController extends Controller
{
    public function indexAction()
    {
        return $this-&gt;render('SystemBundle:Pages:index.html.twig');
    }
    public function pkgsAction(){
        return $this-&gt;render('SystemBundle:Pages:pkg.html.twig');
    }
    public function aboutAction(){
        return $this-&gt;render('SystemBundle:Pages:about.html.twig');
    }
    public function contactAction(){
        return $this-&gt;render('SystemBundle:Pages:contact.html.twig');
    }
}
</code></pre>

<p>and the following is my routing.yml file inside my SystemBundle>Resources>config :</p>

<pre><code>system_homepage:
    path:     /
    defaults: { _controller: SystemBundle:System:index }

system_about:
    path: /about
    defaults: { _controller: SystemBundle:System:about}

system_contact:
    path: /contact
    defaults: { _controller: SystemBundle:System:contact}

system_pkg:
    path: /pkgs
    defaults: { _controller: SystemBundle:System:pkgs}
</code></pre>

<p>Everything seems okay and I can access the localhost:8000 but not the other pages like localhost:8000/contact, etc. </p>

<p>They give out a 404 error and an exception: 
<a href="http://i.stack.imgur.com/cy7p6.png" rel="nofollow">error image here</a></p>

<p>Please help... </p>