Impossibility to complete the tutorial Persist, Fetch, and Transport Data across Layers and Services
Hello, when I try to add an antelope from the backoffice I have exception that class Generated\Zed\Kernel\Persistence\AbstractRepository" not found,
and when I try to read it I have as well "Pyz\Yves\TrainingPage\Plugin\Router\AbstactRouteProviderPlugin"
I think they are located in dependency "spryker/kernel", but what I need to do to have these classes. Thanks for your support.
Answers
-
Hi @emiltotsev.
You have wrong path to Abstract Repository.
You have:use Generated\Zed\Kernel\Persistence\AbstractRepository;
You need:use Spryker\Zed\Kernel\Persistence\AbstractRepository;
Other picture i think it should work. Because i don't see that you tried to use.
use Pyz\Yves\Router\Plugin\RouteProvider\AbstractRouteProviderPlugin;
You are using the right one which is:
use Spryker\Yves\Router\Plugin\RouteProvider\AbstractRouteProviderPlugin;
It could be that you have factory that returns AbstractRouteProviderPlugin from Pyz if you extended it from core to project level.2 -
Hello @filip.gojkovic955 ,
Thanks, you helped a lot, I was not able to see these errors, probably my IDE is not configured correctly.
Best Regards,
Emil
1
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 920 Developer Corner
- 780 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random