LARAVEL配置文件丢失的错误'Class log does not exist'

3 篇文章 0 订阅

PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class log does not exist'


这个错误是对于新手来说真的很难找到问题所在,但是最常见的原因就是配置文件或者文件夹丢失,比如在IDE操作的时候不小心误删

或者挂载共享开发目录的时候文件损坏或者丢失或者权限问题都可能造成这个Error。

我这次遇到的问题就是config目录 莫名其妙消失了。。。根本没有发觉这个目录不存在了。尼玛 找了好半天。



#0 /www/ochm/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(741): ReflectionClass->__construct('log')
#1 /www/ochm/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('log', Array)
#2 /www/ochm/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('log', Array)
#3 /www/ochm/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(842): Illuminate\Foundation\Application->make('Psr\\Log\\LoggerI...')
#4 /www/ochm/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(805): Illuminate\Container\Container->resolveClass(Object(Reflecti in /www/ochm/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 741
[11-Jul-2017 11:30:21 ] PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class log does not exist' in /www/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php:741
Stack trace:
#0 /www/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(741): ReflectionClass->__construct('log')
#1 /www/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('log', Array)
#2 /www/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('log', Array)
#3 /www/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(842): Illuminate\Foundation\Application->make('Psr\\Log\\LoggerI...')
#4 /www/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php(805): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#5 /www/F in /www/Framework/Laravel5.1/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 741

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
根据提供的引用内容,可以看出在不同的情况下,出现了文件不存在的错误。在引用中,是针对Flink框架的测试类报错,指出了文件"LOG"在TaskExecutor上不存在。在引用中,是针对Code::Blocks编译器的报错,指出了文件"/home/strong/codeblocks_work/Fire-master/src/bubble/config.cpp"不存在。并且在引用中,也提到了Flink框架报错中文件"LOG"不存在的问题。然而,没有提到"The file RELEASEE does not exist"这个具体的错误信息。基于这些信息,我无法提供关于"The file RELEASEE does not exist"的具体解答。如果你能提供更多关于这个错误的上下文信息,我将尽力为你解答。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [[Flink] The file LOG does not exist on the TaskExecutor](https://blog.csdn.net/qq_21383435/article/details/113195513)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [Code::Blocks – The file does not exist.](https://download.csdn.net/download/weixin_38738830/14060902)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值