laravel Class xxx does not exist

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了laravel Class xxx does not exist相关的知识,希望对你有一定的参考价值。

  项目移植到服务器,结果悲剧的出问题了,就一直报Class xxx does not exist,本地正常,但是已提交服务器就出错。想了十了分钟小时没有结果,突然灵感一来,原来是文件名的问题,怪自己粗心大意了。写个随笔记录一下。

Linux 系统是大小写敏感的,而 Windows 系统和 Mac 系统正好相反,大小写不敏感。一般来说,跨平台就会出的问题。贴出一个地址:

为什么文件名要小写?

http://www.ruanyifeng.com/blog/2017/02/filename-should-be-lowercase.html

 

以上是关于laravel Class xxx does not exist的主要内容,如果未能解决你的问题,请参考以下文章

laravel 命令行测试 Uncaught ReflectionException: Class config does not exist

JMX MBean class xxx does not implement DynamicMBean, and neither follows the Standard MBean conventi

Laravel Composer 错误 Uncaught ReflectionException: Class log does not exist in Container.php:738

the source attachment does not contain the source for the file xxx.class无法关联到某个类

Class StatusesTableSeeder does not exist 如何解决

错误记录Kotlin 编译报错 ( Class ‘Xxx‘ is not abstract and does not implement abstract member )