Warning: No such file or directory in D:\WWW\XXX\vendor\composer\autoload_real.ph

今天使用composer update 更新的时候碰到如下问题
Warning: No such file or directory in D:\WWW\XXX\vendor\composer\autoload_real.ph_第1张图片

打开网站报错如下:

Warning: require(D:\WWW\XXX\vendor/mtdowling/jmespath.php/src/JmesPath.php): failed to open stream: No such file or directory in D:\WWW\XXX\vendor\composer\autoload_real.php on line 55

Fatal error: require(): Failed opening required 'D:\WWW\XXX\vendor/mtdowling/jmespath.php/src/JmesPath.php' (include_path='.;C:\php\pear') in D:\WWW\XXX\vendor\composer\autoload_real.php on line 55

如图:这里写图片描述

这是因为没有执行composer dump-autoload 命令,执行过之后就正常了。

Author:leedaning
本文地址:http://blog.csdn.net/leedaning/article/details/51678954

你可能感兴趣的:(Laravel)