使用命令行报错 composer update 之后 [ 2.0 版本 ]
$ ./yii
Exception 'ReflectionException' with message 'Class yii\gii\Module does not exist'
in D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\di\Container.php:428
Stack trace:
#0 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\di\Container.php(428): ReflectionClass->__construct('yii\\gii\\Module')
#1 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\di\Container.php(364): yii\di\Container->getDependencies('yii\\gii\\Module')
#2 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\di\Container.php(156): yii\di\Container->build('yii\\gii\\Module', Array, Array)
#3 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\BaseYii.php(349): yii\di\Container->get('yii\\gii\\Module', Array, Array)
#4 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\base\Module.php(427): yii\BaseYii::createObject(Array, Array)
#5 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\base\Application.php(315): yii\base\Module->getModule('gii')
#6 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\base\Application.php(273): yii\base\Application->bootstrap()
#7 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\console\Application.php(124): yii\base\Application->init()
#8 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\base\BaseObject.php(109): yii\console\Application->init()
#9 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\base\Application.php(206): yii\base\BaseObject->__construct(Array)
#10 D:\xampp\htdocs\jiankang365\vendor\yiisoft\yii2\console\Application.php(89): yii\base\Application->__construct(Array)
#11 D:\xampp\htdocs\jiankang365\yii(24): yii\console\Application->__construct(Array)
#12 {main}
沃斯尼达耶 补充于 2018-12-29 11:54
1234324
共 0 个回答
没有找到数据。
沃斯尼达耶 秦皇岛
注册时间:2016-11-02
最后登录:2022-11-03
在线时长:34小时55分
最后登录:2022-11-03
在线时长:34小时55分
- 粉丝8
- 金钱2060
- 威望0
- 积分2400