Adding the following lines in bootstrap/autoload.php worked for me. I don't know if it's a good solu...
I have exactly the same problem, I've been working for 3 hours to solve it, but can't figure out how...
The Laravel portal for problem solving, knowledge sharing and community building.
The community