Jean
857
24
General

php artisan db:seed

Posted 4 years ago by Jean

When i run command php artisan db:seed in Laravel 5 then occurs error how to remove this Plz Help me..

exception 'ReflectionException' with message 'Class ArticlesTableSeeder does not exist' in C:\xampp\htdocs\laravel\storage\framework\compiled.php:1026 Stack trace: #0 C:\xampp\htdocs\laravel\storage\framework\compiled.php(1026): ReflectionClass ->__construct('ArticlesTableSe...') #1 C:\xampp\htdocs\laravel\storage\framework\compiled.php(977): Illuminate\Conta iner\Container->build('ArticlesTableSe...', Array) #2 C:\xampp\htdocs\laravel\storage\framework\compiled.php(1476): Illuminate\Cont ainer\Container->make('ArticlesTableSe...', Array) #3 C:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Database\Seed er.php(55): Illuminate\Foundation\Application->make('ArticlesTableSe...') #4 C:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Database\Seed er.php(37): Illuminate\Database\Seeder->resolve('ArticlesTableSe...') #5 C:\xampp\htdocs\laravel\database\seeds\DatabaseSeeder.php(18): Illuminate\Dat abase\Seeder->call('ArticlesTableSe...') #6 C:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Database\Cons ole\SeedCommand.php(57): DatabaseSeeder->run() #7 [internal function]: Illuminate\Database\Console\SeedCommand->fire() #8 C:\xampp\htdocs\laravel\storage\framework\compiled.php(922): call_user_func_a rray(Array, Array) #9 C:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Console\Comma nd.php(115): Illuminate\Container\Container->call(Array) #10 C:\xampp\htdocs\laravel\vendor\symfony\console\Symfony\Component\Console\Com mand\Command.php(253): Illuminate\Console\Command->execute(Object(Symfony\Compon ent\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOut

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.