samedi 17 août 2019

Class Database\Seeds\PermissionsTableSeeder does not exist

I have checked out, class PermissionsTableSeeder exists by path: Database\Seeds\PermissionsTableSeeder.

Also, I tried:

composer dump-autoload

php artisan cache:clear

When I run command: php artisan db:seed it gives me an exception:

ReflectionException : Class Database\Seeds\PermissionsTableSeeder does not exist

at C:\Projects\secure_secure\vendor\laravel\framework\src\Illuminate\Container\Container.php:790 786| if ($concrete instanceof Closure) { 787| return $concrete($this, $this->getLastParameterOverride()); 788| } 789|

790| $reflector = new ReflectionClass($concrete); 791| 792| // If the type is not instantiable, the developer is attempting to resolve 793| // an abstract type such as an Interface or Abstract Class and there is 794| // no binding registered for the abstractions so we need to bail out.

Exception trace:

1
ReflectionClass::__construct("Database\Seeds\PermissionsTableSeeder") C:\Projects\secure_secure\vendor\laravel\framework\src\Illuminate\Container\Container.php:790

2
Illuminate\Container\Container::build("Database\Seeds\PermissionsTableSeeder") C:\Projects\secure_secure\vendor\laravel\framework\src\Illuminate\Container\Container.php:667

How to fix it?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2TDtHbu
via IFTTT

Aucun commentaire:

Enregistrer un commentaire