Я использую Laravel 7.0 и пытаюсь перечислить все свои маршруты с помощью artisan Route:list, но это не удается и возвращает следующее:
Illuminate\Contracts\Container\BindingResolutionException
Target class [App\Http\Controllers\API\RolesController] does not exist.
at C:\xampp\htdocs\Cleanpro\vendor\laravel\framework\src\Illuminate\Container\Container.php:811
807|
808| try {
809| $reflector = new ReflectionClass($concrete);
810| } catch (ReflectionException $e) {
> 811| throw new BindingResolutionException("Target class [$concrete] does not exist.",
0, $e);
812| }
813|
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
1 [internal]:0
Illuminate\Foundation\Console\RouteListCommand::Illuminate\Foundation\Console\{closure}
(Object(Illuminate\Routing\Route))
2 C:\xampp\htdocs\Cleanpro\vendor\laravel\framework\src\Illuminate\Container\Container.php:809
ReflectionException::("Class App\Http\Controllers\API\RolesController does not exist")
Я использую Laravel 7.0 и пытаюсь перечислить все свои маршруты с помощью artisan Route:list, но это не удается и возвращает следующее: Illuminate\Contracts\Container\BindingResolutionException [code]Target class [App\Http\Controllers\API\RolesController] does not exist.
at C:\xampp\htdocs\Cleanpro\vendor\laravel\framework\src\Illuminate\Container\Container.php:811 807| 808| try { 809| $reflector = new ReflectionClass($concrete); 810| } catch (ReflectionException $e) { > 811| throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e); 812| } 813| 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