ZF-Commons / zfc-rbac

Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
BSD 3-Clause "New" or "Revised" License
181 stars 111 forks source link

Unable to resolve service "Zend\Authentication\AuthenticationService #371

Open Dreamseekai opened 7 years ago

Dreamseekai commented 7 years ago

look here please----- Fatal error: Uncaught Zend\ServiceManager\Exception\ServiceNotFoundException: Unable to resolve service "Zend\Authentication\AuthenticationService" to a factory; are you certain you provided it during configuration? in D:\phpStudy\WWW\ZF3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php:681 Stack trace: #0 D:\phpStudy\WWW\ZF3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(757): Zend\ServiceManager\ServiceManager->getFactory('Zend\Authentica...') #1 D:\phpStudy\WWW\ZF3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(200): Zend\ServiceManager\ServiceManager->doCreate('Zend\Authentica...') #2 D:\phpStudy\WWW\ZF3\vendor\zf-commons\zfc-rbac\src\ZfcRbac\Factory\AuthenticationIdentityProviderFactory.php(43): Zend\ServiceManager\ServiceManager->get('Zend\Authentica...') #3 D:\phpStudy\WWW\ZF3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(758): ZfcRbac\Factory\AuthenticationIdentityProviderFactory->__invoke(Object(Zend\ServiceManager\ServiceManager), 'ZfcRbac\Id in D:\phpStudy\WWW\ZF3\vendor\zendframework\zend-servicemanager\src\ServiceManager.php on line 681

i flow the cookbook get this fatal error~~ please give me sime idea~