Bonjour à tous,

J'essaye de me mettre au framework Symfony 2, et je rencontre pas mal de difficulté.
J'ai installé apache et le framework sur mon pc
Je suis à la phase ou je veux tester via mon navigateur ce que je viens de mettre en place. Et là, mes problèmes commences.
Des erreurs s'affichent dans mon navigateur :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
[2/2] NotFoundHttpException: No route found for "GET /WelcomeBundle/"   -
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\EventListener\RouterListener.php at line 145   -
                $message .= sprintf(' (from "%s")', $referer);
            }
            throw new NotFoundHttpException($message, $e);
        } catch (MethodNotAllowedException $e) {
            $message = sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)', $request->getMethod(), $request->getPathInfo(), implode(', ', $e->getAllowedMethods()));
at RouterListener ->onKernelRequest (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
at call_user_func (array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php at line 59   + 
at WrappedListener ->__invoke (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
at call_user_func (object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php at line 164   + 
at EventDispatcher ->doDispatch (array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php at line 53  + 
at EventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php at line 167   + 
at ContainerAwareEventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher.php at line 112   + 
at TraceableEventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 2936   + 
at HttpKernel ->handleRaw (object(Request), '1') 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 2909   + 
at HttpKernel ->handle (object(Request), '1', true) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 3058   + 
at ContainerAwareHttpKernel ->handle (object(Request), '1', true) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 2308   + 
at Kernel ->handle (object(Request)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\web\app_dev.php at line 28   +
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
ResourceNotFoundException:    -
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\cache\dev\appDevUrlMatcher.php at line 226   -
        }
        throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
    }
}
 
at appDevUrlMatcher ->match ('/WelcomeBundle/') 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\Routing\Matcher\UrlMatcher.php at line 106   + 
at UrlMatcher ->matchRequest (object(Request)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\Routing\Router.php at line 233   + 
at Router ->matchRequest (object(Request)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\EventListener\RouterListener.php at line 125   + 
at RouterListener ->onKernelRequest (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
at call_user_func (array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php at line 59   + 
at WrappedListener ->__invoke (object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
at call_user_func (object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php at line 164   + 
at EventDispatcher ->doDispatch (array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php at line 53  + 
at EventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php at line 167   + 
at ContainerAwareEventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher.php at line 112   + 
at TraceableEventDispatcher ->dispatch ('kernel.request', object(GetResponseEvent)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 2936   + 
at HttpKernel ->handleRaw (object(Request), '1') 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 2909   + 
at HttpKernel ->handle (object(Request), '1', true) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 3058   + 
at ContainerAwareHttpKernel ->handle (object(Request), '1', true) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\app\bootstrap.php.cache at line 2308   + 
at Kernel ->handle (object(Request)) 
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\web\app_dev.php at line 28   +
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Logs : 
 
NOTICE - It is recommended that you enable the "openssl" extension for random number generation. 
ERROR - Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /WelcomeBundle/"" at C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\Symfony\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\EventListener\RouterListener.php line 145 
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.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 "Acme\DemoBundle\EventListener\ControllerListener::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".
Avant de poster ce message j'ai pas mal recherché sur internet, mais il faut dire que j'ai un niveau débutant dans l'installation et configuration de serveur web.

Merci par avance