In Container.php line 729: Class router does not exist -DINGO

In Container.php line 729: Class router does not exist -DINGO

遇到这种问题,一定要看日志,看日志,看日志。别有事没事就去网上google,告诉你个技巧,你搜关键词发现没有什么人和你有相同错误的时候,那么这应该是你个人问题,和别人没得关系,晓得不。。。。。

看你日志一步一步的找,你一定能找到的原因,别激动,尤其是加班的时候,这样还容易掉头发。。。。。。。。。。。。感觉自己还跟个二傻子似的。。。。。,记录一下二傻子的日常

[2018-08-30 21:16:15] lumen.ERROR: ReflectionException: Class router does not exist in /Users/shaozeming/www/lsd-api/vendor/illuminate/container/Container.php:729
Stack trace:
#0 /Users/shaozeming/www/lsd-api/vendor/illuminate/container/Container.php(729): ReflectionClass->__construct('router')
#1 /Users/shaozeming/www/lsd-api/vendor/illuminate/container/Container.php(608): Illuminate\Container\Container->build('router')
#2 /Users/shaozeming/www/lsd-api/vendor/illuminate/container/Container.php(575): Illuminate\Container\Container->resolve('router')
#3 /Users/shaozeming/www/lsd-api/vendor/laravel/lumen-framework/src/Application.php(210): Illuminate\Container\Container->make('router')
#4 /Users/shaozeming/www/lsd-api/vendor/illuminate/container/Container.php(1172): Laravel\Lumen\Application->make('router')
#5 /Users/shaozeming/www/lsd-api/vendor/illuminate/support/Facades/Facade.php(159): Illuminate\Container\Container->offsetGet('router')
#6 /Users/shaozeming/www/lsd-api/vendor/illuminate/support/Facades/Facade.php(128): Illuminate\Support\Facades\Facade::resolveFacadeInstance('router')
#7 /Users/shaozeming/www/lsd-api/vendor/illuminate/support/Facades/Facade.php(215): Illuminate\Support\Facades\Facade::getFacadeRoot()
#8 /Users/shaozeming/www/lsd-api/packages/geTui/geTui/src/routes/getui.php(18): Illuminate\Support\Facades\Facade::__callStatic('group', Array)
#9 /Users/shaozeming/www/lsd-api/packages/geTui/geTui/src/GeTuiServiceProvider.php(47): include('/Users/shaozemi...')
#10 /Users/shaozeming/www/lsd-api/vendor/laravel/lumen-framework/src/Application.php(174): GeTui\GeTuiServiceProvider->register()
#11 /Users/shaozeming/www/lsd-api/bootstrap/app.php(124): Laravel\Lumen\Application->register(Object(GeTui\GeTuiServiceProvider))
#12 /Users/shaozeming/www/lsd-api/artisan(18): require('/Users/shaozemi...')
#13 {main}