Upgrading Laravel 4.2 to 5.0, getting [ReflectionException] Class App\Http\Controllers\PagesController does not exist
问题 I was updating my project from laravel 4.2 to laravel 5.0. But, after I am facing this error and have been trying to solve it for the past 4 hours. I didn't face any error like this on the 4.2 version. I have tried composer dump-autoload with no effect. As stated in the guide to update, I have shifted all the controllers as it is, and made the namespace property in app/Providers/RouteServiceProvider.php to null . So, I guess all my controllers are in global namespace, so don't need to add the