How to run the symfony project
<p>I am a beginner in symfony framework and I want to run my function Which I </p>

<p>Created in BlogController</p>

<pre><code>&lt;?php 

namespace AppBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

class BlogController extends Controller
{
    /**
     * @Route("/blog")
     */
    public function showAction()
    {
      echo "hello friend";
    }
}
?&gt;


C:\xampp\htdocs\mysymfony\src\AppBundle\Controller
</code></pre>

<p>mysymfony is project name.</p>

<p>Here is my routing.yml</p>

<pre><code>app:
    resource: "@AppBundle/Controller/"
    type:     annotation
</code></pre>

<p>When I hit URL:-</p>

<p><strong><a href="http://localhost/mysymfony/blog" rel="nofollow">http://localhost/mysymfony/blog</a></strong></p>

<p>I get this Error</p>

<p>**</p>

<pre><code>Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8
</code></pre>

<p>**</p>

<p>I don't know how structure of URL to run BLOG function.Please resolved this problem </p>