title: Laravel 8 getting BindingResolutionException error after upgrade
body: <p>After upgrading <code>Laravel v:7</code> to <code>8</code> i get below error and i can't resolve that</p>
  <pre><code>Illuminate\Contracts\Container\BindingResolutionException
  Target class [Frontend\HomeController] does not exist. 
  </code></pre>
  <p>my controller <code>namespace</code> and directory structure:</p>
  <pre><code>|- app
      |- Http
          |- Controllers
              |- Frontend
                   -HomeController.php
               - Controller.php
  </code></pre>
  <p>Route:</p>
  <pre class="lang-php prettyprint-override"><code>Route::namespace('Frontend')-&gt;group(function () {
      Route::get('/', 'HomeController@index')-&gt;name('home');
  });
  
  </code></pre>
  <p>and then <code>HomeController.php</code></p>
  <pre class="lang-php prettyprint-override"><code>&lt;?php
  
  namespace App\Http\Controllers\Frontend;
  
  use App\Http\Controllers\Controller;
  use Illuminate\Http\Request;
  
  class HomeController extends Controller
  {
      public function index()
      {
          dd('aaaa');
      }
  
      public function create()
      {
          //
      }
  
      public function store(Request $request)
      {
          //
      }
  
      public function show($id)
      {
          //
      }
  
      public function edit($id)
      {
          //
      }
  
      public function update(Request $request, $id)
      {
          //
      }
  
      public function destroy($id)
      {
          //
      }
  }
  
  </code></pre>
  <p>using below command could't resolve my problem too:</p>
  <pre class="lang-sh prettyprint-override"><code>php artisan clear-compiled
  php artisan optimize:clear
  composer dump-autoload
  </code></pre>