This error occurs when you try to run your freshly created seeder. What actually happens is, the freshly created seeder class is not loaded in the class map. Hence throwing an “class not found” exception.
All you need to do is run a simple command in your CLI for a simple solution.
Then you run
php artisan db:seed