I upgraded my project from Laravel 4.2 to 5.0 , but I get this error when I finish the process:
The class' App \ Http \ Controllers \ Controller 'was not found' in ... / app / Http / Controllers / Auth / AuthController.php: 8
But the specified controller is in the application /Http/Controllers/Controller.php.
It is also defined in composer.json, autoload, classmap:
"autoload": {
"classmap": [
"database",
"app/Http/Controllers",
"app/Libraries"
],
"psr-4": {
"App\\": "app/"
}
},
This seems to be a namespace problem, but I don’t know how to solve it,
source
share