本文介绍了Symfony2.3-HWIOAuthBundle配置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
有人有主意吗?
推荐答案
我在这里找到了解决方案: http://www.diegocaprioli.com/adding-hwioauthbundle-to- your-symfony2-project/
I found the solution here :http://www.diegocaprioli.com/adding-hwioauthbundle-to-your-symfony2-project/
您需要在config.yml中配置ressource_owners
You need to configure a ressource_owners in config.yml
这篇关于Symfony2.3-HWIOAuthBundle配置ServiceNotFoundException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!