Skip to content

php artisan route:list ! ReflectionException : Class does not exist !  #246

@wanyangyue

Description

@wanyangyue

php artisan route:list

ReflectionException : Class does not exist

at C:\Users\wanyangyue\Desktop\git\farm\farmCms\vendor\laravel\framework\src\Illuminate\Container\Container.php: 767
763: if ($concrete instanceof Closure) {
764: return $concrete($this, $this->getLastParameterOverride());
765: }
766:
767: $reflector = new ReflectionClass($concrete);
768:
769: // If the type is not instantiable, the developer is attempting to resolve
770: // an abstract type such as an Interface of Abstract Class and there is
771: // no binding registered for the abstractions so we need to bail out.
772: if (! $reflector->isInstantiable()) {

Exception trace:

1 ReflectionClass::__construct("")
C:\Users\wanyangyue\Desktop\git\farm\farmCms\vendor\laravel\framework\src\Illuminate\Container\Container.php : 767

2 Illuminate\Container\Container::build()
C:\Users\wanyangyue\Desktop\git\farm\farmCms\vendor\laravel\framework\src\Illuminate\Container\Container.php : 646

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions