Attempted to load class "ShopFinderEntity" from namespace "SwagShopFinder\Core\Content\ShopFinder".

Hi community!

i am following Shopware 6 developer training and and there the trainer just outputs the shops he created via API and faker. i have done the saving that data generated by faker part but somehow unable to get it dumped on storefront.

I get this error message and i am not sure how can i look deeper into it. so any ideas? 
 

The given class in the definition getEntityClass does not exists

But i am using it here, and dumping ShopFinderEntity::class  gives me this 

 SwagShopFinder\Core\Content\ShopFinder\ShopFinderEntity

Can someone please guide what could be wrong? I am new to shopware

Issue is resolved, the class was not able to load because i missed the „.php“ extension in the filename. It should be „ShopFinderEntity.php“