Olá. Estou com um problema ao criar o ProdutoController.
Criei o arquivo seguindo os passos, exceto que estou usando uma versão mais nova do Laravel. Achei o arquivo web.php que substitui o routes.php e fora isso fiz tudo seguindo os passos, mas quando fui testar a função lista tenho um erro.
Segue erro:
Whoops, looks like something went wrong.
1/1 ReflectionException in C:\xampp\htdocs\estoque\vendor\laravel\framework\src\Illuminate\Container\Container.php line 681: Class estoque\Http\Controllers\ProdutoController does not exist
in Container.php line 681
at ReflectionClass->__construct('estoque\\Http\\Controllers\\ProdutoController') in Container.php line 681
at Container->build('estoque\\Http\\Controllers\\ProdutoController') in Container.php line 565
at Container->make('estoque\\Http\\Controllers\\ProdutoController') in Application.php line 702
at Application->make('estoque\\Http\\Controllers\\ProdutoController') in Route.php line 217
at Route->getController() in Route.php line 736
at Route->controllerMiddleware() in Route.php line 697
at Route->gatherMiddleware() in Router.php line 572
at Router->gatherRouteMiddleware(object(Route)) in Router.php line 552
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 520
at Router->dispatchToRoute(object(Request)) in Router.php line 498
at Router->dispatch(object(Request)) in Kernel.php line 174
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Kernel.php line 149
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 54
at require_once('C:\\xampp\\htdocs\\estoque\\public\\index.php') in server.php line 21