數(shù)據(jù)填充報(bào)錯(cuò)
C:\xampp\htdocs\laravel5.3>php artisan db:seed --class=StudentTableSeeder
? [Symfony\Component\Debug\Exception\FatalThrowableError]
? Class 'Illuminate\Suppoort\Facades\DB' not found
C:\xampp\htdocs\laravel5.3>php artisan db:seed --class=StudentTableSeeder
? [Symfony\Component\Debug\Exception\FatalThrowableError]
? Class 'Illuminate\Suppoort\Facades\DB' not found
2019-12-16
舉報(bào)
2020-01-12
Class 'Illuminate\Suppoort\Facades\DB' not found
這個(gè)DB類(lèi)找不到??!添加一下:use?Illuminate\Suppoort\Facades\DB;應(yīng)該就可以了