Symfony2.3 - HWIOAuthBundle Config ServiceNotFoundException

你。 提交于 2019-12-13 02:42:55

问题


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 ?


回答1:


I found the solution here : http://www.diegocaprioli.com/adding-hwioauthbundle-to-your-symfony2-project/

You need to configure a ressource_owners in config.yml



来源:https://stackoverflow.com/questions/17488959/symfony2-3-hwioauthbundle-config-servicenotfoundexception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!