我尝试在 wamp 上配置 symfony2,但出现错误:
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The service "symfony.webconfigurator" does not exist.' in F:\xamppx\xampp\htdocs\Symfony\app\bootstrap.php:112 Stack trace:
#0 F:\xamppx\xampp\htdocs\Symfony\vendor\bundles\Symfony\Bundle\WebConfiguratorBundle\SymfonyWebConfiguratorBundle.php(28): Symfony\Component\DependencyInjection\Container->get('symfony.webconf...')
#1 F:\xamppx\xampp\htdocs\Symfony\app\bootstrap.php(543): Symfony\Bundle\WebConfiguratorBundle\SymfonyWebConfiguratorBundle->boot()
#2 F:\xamppx\xampp\htdocs\Symfony\app\bootstrap.php(559): Symfony\Component\HttpKernel\Kernel->boot()
#3 F:\xamppx\xampp\htdocs\Symfony\web\app_dev.php(15): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#4 {main} thrown in F:\xamppx\xampp\htdocs\Symfony\app\bootstrap.php on line 112
为什么?