php artisan db:seed --class=TailorSizeTableSeeder
ReflectionException : Class TailorSizeTableSeeder does not exist
at /opt/php/hotniuer_n/vendor/laravel/framework/src/Illuminate/Container/Container.php:779
775| if ($concrete instanceof Closure) {
776| return $concrete($this, $this->getLastParameterOverride());
777| }
778|
> 779| $reflector = new ReflectionClass($concrete);
780|
781| // If the type is not instantiable, the developer is attempting to resolve
782| // an abstract type such as an Interface or Abstract Class and there is
783| // no binding registered for the abstractions so we need to bail out.
Exception trace:
1 ReflectionClass::__construct("TailorSizeTableSeeder")
/opt/php/hotniuer_n/vendor/laravel/framework/src/Illuminate/Container/Container.php:779
2 Illuminate\Container\Container::build("TailorSizeTableSeeder")
/opt/php/hotniuer_n/vendor/laravel/framework/src/Illuminate/Container/Container.php:658
执行:
composer dump-autoload