I'm following this tutorial and this one to create a basic REST API with Apigility, I'm no expert in Zend as my goal is to build the api over a symfony2 app, but for now, after following all steps in both tutorials, I reach the same point, when accessing http://api.example.com/endpoint1
I get an Exception:
Zend\ServiceManager\Exception\ServiceNotCreatedException
File:
/var/www/api.example.com/zf-apigility-skeleton/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php:1070
Message:
An abstract factory could not create an instance of exampleapiv1restprovinciacontroller(alias: ExampleAPI\V1\Rest\Provincia\Controller).