i am using zend framework 3 with doctrine and i have a error Unable to resolve service to a factory
<p>Unable to resolve service "doctrine.authenticationservice.orm_default" to a factory   </p>

<pre><code> public function getServiceConfig()
    {
        return array(

   'factories' =&gt; array(

    'Zend\Authentication\AuthenticationService' =&gt;function($serviceManager) {
return $serviceManager-&gt;get('doctrine.authenticationservice.orm_default');


                },
</code></pre>

<p>i installed 
composer require fanst1109/doctrine-orm-module</p>

<p>added the orm modules to the application.config , all good no errors</p>

<p><a href="https://packagist.org/packages/fanst1109/doctrine-orm-module" rel="nofollow">https://packagist.org/packages/fanst1109/doctrine-orm-module</a></p>

<p>authenticationservice</p>

<p>i am trying to upgrade the auth module to zend framework 3 </p>

<p>and i have this error :</p>

<p>Fatal error: Uncaught Zend\ServiceManager\Exception\ServiceNotFoundException: Unable to resolve service "doctrine.authenticationservice.orm_default" to a factory; are you certain you provided it during configuration? in C:\xampp\htdocs\etiju\vendor\zendframework\zend-servicemanager\src\ServiceManager.php on line 673</p>