Whenever I do composer update
or artisan cache:clear
and I get the following error:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Fatal error: Class 'Aws\Laravel\AwsServiceProvider' not found
My app.php config file doesn't contain the AWS in the providers and or aliases. I've tried adding 'Aws\\Laravel\\AwsServiceProvider::class,'
under providers and 'AWS => Aws\\Laravel\\AwsFacade::class,'
under aliases but still the same issue. I think something is caching weird and doesn't recognize the updates I'm doing on app.php config file.
bootstrap/cache
composer dump-autoload
config/aws.php
if it exists composer install
只做一个: composer dump-autoload
然后尝试像普通的那样运行你的命令: composer update
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.