LoginSignup
53

More than 5 years have passed since last update.

laravelでphp artisan db:seed すると does not exist とエラーが出る

Posted at

laravel5.5 の環境で確認。

php artisan db:seed

を実行したら

In Container.php line 752:
   Class hogehogeSeeder does not exist

と表示されて止まってしまう場合。

composer dump-autoload

を実行してからもう1回やると、正常に実行されます。

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
53