'Cache clear probem in Larave

I have a problem. I am download project from hosting. now when I run the project this error shows. pic attached. I think this is cache problem, I clear cache, view, but still same issue.



Solution 1:[1]

let's say you have installed composer,

now run this command and see:

composer dump-autoload

Solution 2:[2]

Just delete the vendor directory and composer.cache file from project root and hit the following commands.

composer install
php artisan optimize:clear
php artisan serve

Through these, you can also check if there is any composer-related issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 tayeb320
Solution 2 Ketan Harsoda