title: Target class [App\Http\Controllers\welcome] does not exist. error in laravel 6
body: <p>I am getting Target class [App\Http\Controllers\welcome] does not exist error in laravel 6. everything seems okay.</p>
  
  <p>in routes/web.php </p>
  
  <pre><code>Route::get('/','welcome@index');
  </code></pre>
  
  <p>Welcome.php file everything was working fine on localhost but when I uploaded on the server getting that error.</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  use Illuminate\Http\Request;
  use App\Models\Constant_model;
  
  
  
  class Welcome extends Controller
  {
  public function index(){
  
        $snippets = Constant_model::getDataAllWithLimit('snippets',"id",'DESC',10);
  
        $data = array(
          'title'=&gt;'Mytitle',
          'description'=&gt;'Hello',
          'seo_keywords'=&gt;'',
          'snippets'=&gt;$snippets
  
          );
  
         return view('welcome',$data);    
   }
   }
  </code></pre>