Closed
Description
Some files, such as Kernel.php
, are no longer available in Laravel 11.
Environment:
- Laravel-Code-Generator Version: 3.0.1
- Laravel Version: 11.0.8
Description:
When I execute the command create:mapped-resources
, only the first file (the model) is made, and then the Exception below occurs.
Scaffolding web-based resources for menu...
A model was crafted successfully.
Illuminate\Contracts\Container\BindingResolutionException
Target class [\App\Http\Kernel] does not exist.
at vendor/laravel/framework/src/Illuminate/Container/Container.php:906
902▕
903▕ try {
904▕ $reflector = new ReflectionClass($concrete);
905▕ } catch (ReflectionException $e) {
➜ 906▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
907▕ }
908▕
909▕ // If the type is not instantiable, the developer is attempting to resolve
910▕ // an abstract type such as an Interface or Abstract Class and there is
+47 vendor frames
48 artisan:13
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
Steps/Commands To Reproduce:
By command:
php artisan create:mapped-resources
Note: All JSON files were previously created without any problems.
Metadata
Metadata
Assignees
Labels
No labels