Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:358
Stack trace:
#0 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\RegisterErrorViewPaths.php(17): Illuminate\Support\Facades\Facade::__callStatic('replaceNamespac...', Array)
#1 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php(918): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#2 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php(893): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#3 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php(818): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException))
#4 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php(709): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException))
#5 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php(597): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Error))
#6 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(574): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Error))
#7 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(148): Illuminate\Foundation\Http\Kernel->renderException(Object(Illuminate\Http\Request), Object(Error))
#8 C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(1219): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#9 C:\xampp\htdocs\employee-afmdc\public\index.php(20): Illuminate\Foundation\Application->handleRequest(Object(Illuminate\Http\Request))
#10 {main}
thrown in C:\xampp\htdocs\employee-afmdc\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php on line 358