I have just created a Symfony application on my windows 10 laptop using theSymfony Installer.
Then, I have started it with:
php app/console server:runThen, I have openedhttp://localhost:8000/app/example as described in the documentation, but I get the following error message:
ERROR - Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /app/example"" at C:\Users\JVerstry\morepath\Trunk\_symfony\app\cache\dev\classes.php line 2061DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke".DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".What am I doing wrong?
- 1Check available routes with
$ php app/console debug:routerconsole command. Is there/app/exampleexists?Victor Bocharsky– Victor Bocharsky2015-08-15 18:13:21 +00:00CommentedAug 15, 2015 at 18:13 - No there is not, but there is /. I have just tried it and it works. I get the documentation needs an update. If you create a solution, I'll approve it.Jérôme Verstrynge– Jérôme Verstrynge2015-08-15 18:17:42 +00:00CommentedAug 15, 2015 at 18:17
- I have reported the issue:github.com/symfony/symfony/issues/15559Jérôme Verstrynge– Jérôme Verstrynge2015-08-15 18:27:27 +00:00CommentedAug 15, 2015 at 18:27
- Yes, it looks like you found a bug :)Victor Bocharsky– Victor Bocharsky2015-08-15 18:48:12 +00:00CommentedAug 15, 2015 at 18:48

