LoginSignup
2
1

More than 3 years have passed since last update.

LaravelでClass 'FooProvider' not foundが解決できない場合

Posted at

一度configのapp.phpに記述した後に、消した場合に発生する。
こんな感じのエラーメッセージ。

Class 'Aws\Laravel\AwsServiceProvider' not found 

configを読み直しても、

php artisan config:cache

composer dump-autoloadしなおしても

composer dump-autoload

なおらない。
なぜなら、クリアしてもbootstrap/cache/config.php に残っているからだ。

こいつを削除すればOK

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1