I am trying to create a new module in my shop. However, I use the generator that automatically creates the module and all the files needed, including the controller itself. The only thing that I have to do is register that controller in the YvesBootstrap.php by inserting "new HelloWorldControllerProvider($isSsl), " in the getControllerProviderStack method, but it doesn’t work. I did everything according to the spryker training video.
The error message contains the following:
Error - Class ‘SprykerShop\Yves\HelloWorld\Plugin\Provider\HelloWorldControllerProvider’ not found
in /data/shop/development/current/src/Pyz/Yves/ShopApplication/YvesBootstrap.php (196)
#0 /data/shop/development/current/src/Pyz/Yves/ShopApplication/YvesBootstrap.php(158): Pyz\Yves\ShopApplication\YvesBootstrap->getControllerProviderStack(false)
#1 /data/shop/development/current/vendor/spryker-shop/shop-application/src/SprykerShop/Yves/ShopApplication/YvesBootstrap.php(38): Pyz\Yves\ShopApplication\YvesBootstrap->registerControllerProviders()
#2 /data/shop/development/current/public/Yves/index.php(21): SprykerShop\Yves\ShopApplication\YvesBootstrap->boot()