title: Target class [Database\Seeders\UsersTableSeeder] does not exist
body: <p>I am getting the error &quot;Target class [Database\Seeders\UsersTableSeeder] does not exist&quot; and I cannot figure out why. I have already tried solutions posted to similar issues and none of them worked for me.</p>
  <p>Here is my composer.json autoload/classmap settings</p>
  <pre class="lang-json prettyprint-override"><code>&quot;autoload&quot;: {
      &quot;psr-4&quot;: {
          &quot;App\\&quot;: &quot;app/&quot;
      },
      &quot;classmap&quot;: [
          &quot;database/seeders&quot;,
          &quot;database/factories&quot;
      ]
  },
  
  </code></pre>
  <p>UsersTableSeeder class</p>
  <pre class="lang-php prettyprint-override"><code>&lt;?php
  
  use Illuminate\Database\Seeder;
  use Illuminate\Support\Facades\DB;
  use Illuminate\Support\Facades\Hash;
  
  class UsersTableSeeder extends Seeder
  {
      /**
       * Run the database seeds.
       *
       * @return void
       */
      public function run()
      {
          DB::table('users')-&gt;insert([
              'fname' =&gt; 'Billy',
              'lname'=&gt; 'Bob',
              'email' =&gt; 'billy@gmail.com',
              'password' =&gt; Hash::make('12345678'),
          ]);
      }
  }
  </code></pre>
  <p>DatabaseSeeder class</p>
  <pre class="lang-php prettyprint-override"><code>
  &lt;?php
  
  namespace Database\Seeders;
  
  use Illuminate\Database\Seeder;
  
  class DatabaseSeeder extends Seeder
  {
      /**
       * Seed the application's database.
       *
       * @return void
       */
      public function run()
      {
          // \App\Models\User::factory(10)-&gt;create();
          $this-&gt;call(UsersTableSeeder::class);
      }
  }
  </code></pre>