Zend \ ServiceManager \ ServiceManager :: get无法为doctrine.authenticationservice.orm_default获取或创建实例 我使用
时遇到上述错误zend 2 framework
模块安装了AuthDoctrine
。如您所见,我在尝试访问
http://localhost/test/public/auth-doctrine/index/login
我的Module.php
文件中出现错误。
如果您使用DoctrineORMModule
:
return $serviceManager->get('doctrine.authenticationservice.odm_default');
任何人都可以帮我解决这个问题吗?