添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account php artisan db:seed [ReflectionException] Class DatabaseSeeder does not exist Version [5.2.43 ] #14875 php artisan db:seed [ReflectionException] Class DatabaseSeeder does not exist Version [5.2.43 ] #14875 basherr opened this issue Aug 18, 2016 · 7 comments

Maybe you should import Seeder and Model classes in your DatabaseSeeder.php file.

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model

Illuminate\Contracts\Container\BindingResolutionException

Target class [DatabaseSeeder] does not exist.

at E:\xampp\htdocs\ecom\vendor\laravel\framework\src\Illuminate\Container\Container.php:811
808| try {
809| $reflector = new ReflectionClass($concrete);
810| } catch (ReflectionException $e) {

811| throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
812| }
814| // If the type is not instantiable, the developer is attempting to resolve
815| // an abstract type such as an Interface or Abstract Class and there is

This error occurs while am trying to do run this cmd let me know How to solve this
php artisan db:seed