php - Target class controller does not exist - Laravel 8 - Stack Overflow

PHOTO EMBED

Wed Feb 02 2022 14:10:14 GMT+0000 (Coordinated Universal Time)

Saved by @oday #php

But when I saw my app/Providers/RouteServiceProvider.php file, I had namespaces inside my boot method. Then I just uncommented this => protected $namespace = 'App\\Http\\Controllers'; Now my project is working
content_copyCOPY

https://stackoverflow.com/questions/63807930/target-class-controller-does-not-exist-laravel-8