Ad

While Installing Datatable Class Not Found

I ran into problem after running composer update

When i am trying to install laravel tables by composer require yajra/laravel-datatables-oracle:"~8.0" i am having following error

Class 'Yajra\DataTables\DatatablesServiceProvider' not found 

Removed it from, app.php. there is no serivce provider or alias.

I have tried both ways, DataTables and Datatables with older versions.

Tried composer autodump, removing the vendor folder and installed again, it existes without installation, and i don't see any class used in app.php yet.

I am unable to install.

Ad

Answer

It Fixed By removing cache from bootstrap folder and installing it all again.

Ad
source: stackoverflow.com
Ad