我正在开发一个Laravel应用程序,我遇到了一些我无法理解的非常奇怪的事情。我正在使用一些路由,我做了清除路由,缓存并运行命令config:cache并且所有内容都在向所有其他命令运行这种异常,例如composer dump-autoload,但是错误并没有得到修复。这是一个例外:
'致命错误:未捕获ReflectionException:第767行的C:\ xampp \ htdocs \ laravel \ mystyle \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php中不存在类配置
ReflectionException:第767行的C:\ xampp \ htdocs \ laravel \ mystyle \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php中不存在类配置
调用堆栈:
0.4138 377688 1. {main}() C:\xampp\htdocs\laravel\mystyle\artisan:0
0.4774 2866472 2. App\Console\Kernel->handle() C:\xampp\htdocs\laravel\mystyle\artisan:37
0.4820 2912464 3. App\Console\Kernel->reportException() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:132
0.4838 2977184 4. App\Exceptions\Handler->report() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php:353
0.4838 2977184 5. App\Exceptions\Handler->report() C:\xampp\htdocs\laravel\mystyle\app\Exceptions\Handler.php:39
0.4870 3122168 6. Illuminate\Log\LogManager->error() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php:113
0.4870 3122168 7. Illuminate\Log\LogManager->driver() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Log\LogManager.php:519
0.4870 3122168 8. Illuminate\Log\LogManager->getDefaultDriver() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Log\LogManager.php:103
0.4870 3122168 9. Illuminate\Foundation\Application->offsetGet() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Log\LogManager.php:436
0.4870 3122168 10. Illuminate\Foundation\Application->make() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Container\Container.php:1210
0.4870 3122168 11. Illuminate\Foundation\Application->make() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:734
0.4870 3122168 12. Illuminate\Foundation\Application->resolve() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Container\Container.php:601
0.4871 3122168 13. Illuminate\Foundation\Application->build() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Container\Container.php:646
0.4871 3122288 14. ReflectionClass->__construct() C:\xampp\htdocs\laravel\mystyle\vendor\laravel\framework\src\Illuminate\Container\Container.php:767'
幸运的是,我在一个在线存储库中有一个先前的提交,我删除了所有内容并将其拉出并再次尝试缓存:配置并再次出现错误。 有人可以帮忙吗?