簡體   English   中英

Laravel錯誤未捕獲異常'ReflectionException',消息'Class App \ Http \ Kernel不存在'

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

當我想在laravel 5.2項目中添加表單時,我在作曲家中遇到了一些錯誤。 之后我的整個項目出現了一個奇怪的錯誤:

致命錯誤: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}(對象(在第738行的C:\\ xampp \\ htdocs \\ gifkadeh \\ vendor \\ laravel \\ framework \\ src \\ Illuminate \\ Container \\ Container.php中照亮)

有時依賴項不兼容或有一些錯誤。 您可以嘗試:

  1. 恢復舊的composer.lock文件
  2. 刪除供應商文件夾
  3. 執行'composer install'

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM