简体   繁体   English

Symfony2.3-HWIOAuthBundle配置ServiceNotFoundException

[英]Symfony2.3 - HWIOAuthBundle Config ServiceNotFoundException

I want to install this bundle. 我想安装这个捆绑包。 I follow all of the steps and I have this error : 我按照所有步骤操作,但出现此错误:

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

Anyone has an idea ? 有人有主意吗?

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

You need to configure a ressource_owners in config.yml 您需要在config.yml中配置ressource_owners

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM