title: Laravel 4.2 to 5 Class 'App\Http\Controllers\Controller' not found
body: <p>I upgraded my project <a href="http://laravel.com/docs/master/upgrade#upgrade-5.0" rel="nofollow noreferrer">from Laravel 4.2 to 5.0</a> but I get this error when I finish the process:</p>
  
  <blockquote>
    <p>Class 'App\Http\Controllers\Controller' not found' in .../app/Http/Controllers/Auth/AuthController.php:8</p>
  </blockquote>
  
  <p>But the mentioned controller is there, in app/Http/Controllers/Controller.php.</p>
  
  <p>Also it is defined in composer.json, autoload, classmap:</p>
  
  <pre><code>"autoload": {
          "classmap": [
              "database",
              "app/Http/Controllers",
              "app/Libraries"
          ],
          "psr-4": {
              "App\\": "app/"
          }
      },
  </code></pre>
  
  <p>Apparently this is a namespace problem, but I don't know hot to solve it</p>