title: Laravel error 'ReflectionException' - 'Class App\Http\Kernel does not exist'
body: <p>I was trying to go live with a laravel project i developped a year back in school and i ran into some issue.
  After uploading the whole project on my hosting service's server, i got these errors on my browser as well as on my SSH shell.</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\Http\Kernel does not exist' in /home/clients/ffa41f94063541f86a0fe6602a73caa1/myforms/vendor/laravel/framework/src/Illuminate/Container/Container.php:779 
    Stack trace: #0 /home/clients/ffa41f94063541f86a0fe6602a73caa1/myforms/vendor/laravel/framework/src/Illuminate/Container/Container.php(779): ReflectionClass->__construct('App\Http\Kernel') #1 /home/clients/ffa41f94063541f86a0fe6602a73caa1/myforms/vendor/laravel/framework/src/Illuminate/Container/Container.php(659): Illuminate\Container\Container->build('App\Http\Kernel', Array) #2 /home/clients/ffa41f94063541f86a0fe6602a73caa1/myforms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(644): Illuminate\Container\Container->make('App\Http\Kernel', Array) #3 /home/clients/ffa41f94063541f86a0fe6602a73caa1/myforms/vendor/laravel/framework/src/Illuminate/Container/Container.php(229): Illuminate\Foundation\Application->make('App\Http\Kernel', Array) #4 /home/clients/ffa41f94063 in /home/clients/ffa41f94063541f86a0fe6602a73caa1/myforms/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 779</p>
  </blockquote>
  
  <p>I think it could be related to my namespace configuration, because i haven't all understood yet.</p>
  
  <p>Here is my composer.json file :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
   "name": "laravel/laravel",
   "description": "The Laravel Framework.",
   "keywords": ["framework", "laravel"],
   "license": "MIT",
   "type": "project",
   "require": {
    "laravel/framework": "5.0.*",
    "illuminate/html": "5.*",
    "barryvdh/laravel-dompdf": "0.5.*",
    "guzzlehttp/guzzle": "~4.0"
  
   },
   "require-dev": {
    "phpunit/phpunit": "~4.0",
    "phpspec/phpspec": "~2.1"
   },
   "autoload": {
    "classmap": [
     "database"
    ],
    "psr-4": {
     "App\\": "myforms/app/"
    }
   },
   "autoload-dev": {
    "classmap": [
     "tests/TestCase.php"
    ]
   },
   "scripts": {
    "post-install-cmd": [
     "php artisan clear-compiled",
     "php artisan optimize"
    ],
    "post-update-cmd": [
     "php artisan clear-compiled",
     "php artisan optimize"
    ],
    "post-create-project-cmd": [
     "php -r \"copy('.env.example', '.env');\"",
     "php artisan key:generate"
    ]
   },
   "config": {
    "preferred-install": "dist"
   }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>What I have already done :</p>
  
  <ul>
  <li>Delete /vendor and make a new install with <code>composer install</code></li>
  <li><code>composer dump-autoload</code></li>
  <li><code>composer update</code>
  btw, I get the error when I insert the <code>composer update</code></li>
  </ul>
  
  <p>Please inform me if i should post another file that could be useful.</p>
  
  <p>Thanks in advance for your help.</p>