本文介绍了Laravel致命错误:致命错误:找不到接口'Illuminate \ Auth \ Illuminate \ Contracts \ Auth \ Factory'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开始使用laravel php框架.我正在尝试仅调用索引文件,却收到此错误消息.

I'm trying to start using laravel php framework. I'm trying to just call the index file and I get this error message.

致命错误:在第357行的C:\ xampp \ htdocs \ tutorials \ lara \ application \ bootstrap \ cache \ compiled.php中找不到接口'Illuminate \ Auth \ Illuminate \ Contracts \ Auth \ Factory'

Fatal error: Interface 'Illuminate\Auth\Illuminate\Contracts\Auth\Factory' not found in C:\xampp\htdocs\tutorials\lara\application\bootstrap\cache\compiled.php on line 357

进程结束,退出代码为255

Process finished with exit code 255

任何人都可以阐明这意味着什么吗?

Can anyone shine some light on what this means?

推荐答案

您的 Illuminate \ Auth \ Illuminate \ Contracts \ Auth \ Factory 可能未复制到您的项目中,因此发生了这种情况.您需要

Your Illuminate\Auth\Illuminate\Contracts\Auth\Factory may not copied in your project,that why this is happening.So you need to be

Step 1 : Remove full vendor folder
Step 2 : Run from your terminal composer install

这篇关于Laravel致命错误:致命错误:找不到接口'Illuminate \ Auth \ Illuminate \ Contracts \ Auth \ Factory'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 06:24