laravel Dcat Admin Class name must be a valid object or a string

(1)问题:安装Laravel后台系统Dcat Admin 2.x报错:Class name must be a valid object or a string
(2)解决:

# step1.更新compoer
composer update

# step2.再次运行命令发布资源
php artisan admin:publish

# step3.清除配置缓存(没效果再执行)
php artisan config:cache

你可能感兴趣的:(phplaravel)