我在centos 5.8服务器中使用Laravel 5.2并收到以下错误:
ReflectionException in Route.php line 280:
Class xxxx\Http\Controllers\CpanelController does not exist
ErrorException in ClassLoader.php line 412: include(/home/xxxx/vendor/composer/../../app/Http/Controllers/CpanelController.php): failed to open stream: Permission denied
我正在尝试:
php artisan cache:clear
chmod -R 777 storage
composer dump-autoload
但问题仍然存在
答案 0 :(得分:0)
Laravel Throughs Reflection异常,当它找不到String中指向的类时。
要记住一些要点。
composer update