php artisan serve not working giving error In ProviderRepository.php 行 208:Class 'Laravelium\Sitemap\SitemapServiceProvider' not found

php artisan serve not working giving error In ProviderRepository.php line 208:Class 'Laravelium\Sitemap\SitemapServiceProvider' not found

我是第一次在 laravel 中工作,当时我在本地计算机上设置已经开发的项目 运行 php artisan serve 我收到此错误

In ProviderRepository.php line 208:

  Class 'Laravelium\Sitemap\SitemapServiceProvider' not found

只需按照以下步骤操作即可解决问题。转到您的项目 > bootstrap->cache->config.php 手动从缓存数组中删除提供程序和别名。