Tuesday 29 November 2016

php artisan db:seed [ReflectionException] Class ..... does not exist

Jika menemukan error seperti :

[ReflectionException]              
  Class ....Seeder does not exist

Ketika melakuka seed, coba jalankan perintah :
composer dump-autoload

Referensi


  1.  Laravel5 Seeder, ReflectionException, "class ?????TableSeeder does not exist" in..., http://laravel.io/forum/01-31-2015-laravel5-seeder-reflectionexception-class-tableseeder-does-not-exist-in-illuminatecontainercontainerphp776

No comments:

Post a Comment