Symfony2.3 - HWIOAuthBundle配置ServiceNotFoundException

时间:2013-07-05 12:29:45

标签: php symfony bundle config hwioauthbundle

我想安装此捆绑包。我遵循所有步骤,我有这个错误:

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException' with message 'You have requested a non-existent service "hwi_oauth.resource_ownermap.main".' in /home/Project/app/bootstrap.php.cache:1894

有人有想法吗?

1 个答案:

答案 0 :(得分:1)

我在这里找到了解决方案: http://www.diegocaprioli.com/adding-hwioauthbundle-to-your-symfony2-project/

您需要在config.yml

中配置ressource_owners