dongxiong1935 2014-09-22 16:30 采纳率: 0%
浏览 23
已采纳

PHP致命错误:类'Bllim \ Datatables \ DatatablesServiceProvider'

I'm a newbie in Laravel. I just cloned my co-worker git and try to php artisan list but it gives me error

PHP Fatal error:  Class 'Bllim\Datatables\DatatablesServiceProvider' not found in /Users/path-to-project/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 157

I can't find any documentations about this error and search results don't really help. Any of you ever met this problem and care to help me fix this? Thank you.

  • 写回答

1条回答 默认 最新

  • duanbozhong9689 2014-09-22 16:41
    关注

    Asking your coworker would be a first good step :)

    That said, the error you're getting indicates that PHP can't find or autoload a Laravel Service provider class. If your coworker is following Laravel best practices, you should be able to fix this by running the following command from your root project directory (or the directory with a composer.json file)

    $ composer install
    or ...
    $ composer.phhar install
    

    The format of the command (phar or no phar) will depend on how you've installed composer, the dependency/package manager used in Laravel.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度