Php Symfony2.3-HWIOAuthBundle配置服务NotFoundException
我想安装这个包。我按照所有步骤操作,出现以下错误:Php Symfony2.3-HWIOAuthBundle配置服务NotFoundException,php,symfony,bundle,config,hwioauthbundle,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/boo
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
有人有想法吗?我在这里找到了解决方案:
您需要在config.yml中配置ressource\u所有者这太简洁了。这里我们需要更多的东西,比如您的conf等。需要security.yml中防火墙的oauth/resource_owner部分来更正此错误。