简体   繁体   English

Laravel错误未捕获异常'ReflectionException',消息'Class App \ Http \ Kernel不存在'

[英]Laravel error Uncaught exception 'ReflectionException' with message 'Class App\Http\Kernel does not exist'

When I wanted to add form in my laravel 5.2 project I got some errors in composer. 当我想在laravel 5.2项目中添加表单时,我在作曲家中遇到了一些错误。 After that My whole project got a strange error bellow : 之后我的整个项目出现了一个奇怪的错误:

Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\\Http\\Kernel does not exist' in C:\\xampp\\htdocs\\gifkadeh\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php:738 Stack trace: #0 C:\\xampp\\htdocs\\gifkadeh\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(738): ReflectionClass->__construct('App\\Http\\Kernel') #1 C:\\xampp\\htdocs\\gifkadeh\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(633): Illuminate\\Container\\Container->build('App\\Http\\Kernel', Array) #2 C:\\xampp\\htdocs\\gifkadeh\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(697): Illuminate\\Container\\Container->make('App\\Http\\Kernel', Array) #3 C:\\xampp\\htdocs\\gifkadeh\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(230): Illuminate\\Foundation\\Application->make('App\\Http\\Kernel', Array) #4 C:\\xampp\\htdocs\\gifkadeh\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(735): Illuminate\\Container\\Container->Illuminate\\Containe 致命错误:C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Container \\ Container.php:738堆栈跟踪中未捕获的异常'ReflectionException',消息'Class App \\ Http \\ Kernel'不存在' :#0 C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Container \\ Container.php(738):ReflectionClass - > __ construct('App \\ Http \\ Kernel')#1C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Container \\ Container.php(633):Illuminate \\ Container \\ Container-> build('App \\ Http \\ Kernel',Array)#2 C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Foundation \\ Application.php(697):Illuminate \\ Container \\ Container-> make('App \\ Http \\ Kernel',Array)#3 C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Container \\ Container.php(230):Illuminate \\ Foundation \\ Application-> make('App \\ Http \\ Kernel',Array)#4 C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Container \\ Container.php(735):Illuminate \\ Container \\ Container-> Illuminate \\ Containe r{closure}(Object(Illuminate in C:\\xampp\\htdocs\\gifkadeh\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php on line 738 r {closure}(对象(在第738行的C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Container \\ Container.php中照亮)

Sometimes dependencies are incompatible or have some bugs. 有时依赖项不兼容或有一些错误。 You can try to: 您可以尝试:

  1. restore your old composer.lock file 恢复旧的composer.lock文件
  2. delete vendor folder 删除供应商文件夹
  3. execute 'composer install' 执行'composer install'

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Laravel错误:未捕获的ReflectionException:类App \\ Http \\ Kernel不存在 - Laravel Error : Uncaught ReflectionException: Class App\Http\Kernel does not exist 未捕获的异常 'ReflectionException' 带有消息 'Class App\\Console\\Kernel does not exist' - Uncaught exception 'ReflectionException' with message 'Class App\Console\Kernel does not exist' Laravel:致命错误:未捕获反射异常:Class App\Http\Kernel 不存在 - Laravel : Fatal error: Uncaught ReflectionException: Class App\Http\Kernel does not exist Laravel 错误 'ReflectionException' - 'Class App\\Http\\Kernel 不存在' - Laravel error 'ReflectionException' - 'Class App\Http\Kernel does not exist' Laravel 5.1.11致命错误:消息为“类日志不存在”的未捕获异常“ Re​​flectionException” - Laravel 5.1.11 Fatal error: Uncaught exception 'ReflectionException' with message 'Class log does not exist' 未捕获的ReflectionException:在/project/vendor/laravel/framework/src/Illuminate/Container/Container.php:721中不存在App \\ Http \\ Kernel类 - Uncaught ReflectionException: Class App\Http\Kernel does not exist in /project/vendor/laravel/framework/src/Illuminate/Container/Container.php:721 消息“类XXX不存在”的教义未捕获的异常“ Re​​flectionException” - Doctrine Uncaught exception 'ReflectionException' with message 'Class XXX does not exist' 如何使用消息“类日志不存在”修复未捕获的异常“ Re​​flectionException”? - How to fix Uncaught exception 'ReflectionException' with message 'Class log does not exist'? Laravel-未捕获的ReflectionException:类日志不存在-配置错误 - Laravel - Uncaught ReflectionException: Class log does not exist - Config error ReflectionException类App \\ Http \\ Controllers \\ ContactController不存在Laravel 5.2 - ReflectionException Class App\Http\Controllers\ContactController does not exist Laravel 5.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM