title: Codeigniter4 - Controller or its method is not found: \App\Controllers\Startup::index
body: <p>I'm trying to loading view by code below:</p>
  
  <p>Controller:</p>
  
  <pre><code>&lt;?php namespace App\Controllers;
  use CodeIgniter\Controller;
  
  class Startup extends Controller
  {
     public function index()
     {
          return view('install/startup');
     }
  }
  </code></pre>
  
  <p>Route:</p>
  
  <pre><code>$routes-&gt;setDefaultNamespace('App\Controllers');
  $routes-&gt;setDefaultController('Startup');
  $routes-&gt;setDefaultMethod('index');
  $routes-&gt;setTranslateURIDashes(false);
  $routes-&gt;set404Override();
  $routes-&gt;setAutoRoute(true);
  </code></pre>
  
  <p>When loading I've got 404 error message: Controller or its method is not found: \App\Controllers\Startup::index</p>
  
  <p>please see image 
  <a href="https://i.stack.imgur.com/Mlv98.png" rel="nofollow noreferrer">directory structure</a></p>