title: How to avoid Reflection Exception in Laravel's project and what are the causes which produce it?
body: <p>I have made a project named <code>my-school</code> using Laravel. Everything works fine, except when I run my project using XAMPP.<br>
  I'm then using this url: <code>localhost/my-school/public/</code>. </p>
  
  <p>Here's the raised exception:</p>
  
  <pre><code>Fatal error: Uncaught exception 'ReflectionException' with message
  'Class MySchool\Http\Kernel does not exist' in
  E:\xampp\htdocs\my-school\vendor\laravel\framework\src\Illuminate\Container\Container.php:776
  Stack trace: #0
  E:\xampp\htdocs\my-school\vendor\laravel\framework\src\Illuminate\Container\Container.php(776):
  ReflectionClass-&gt;__construct('MySchool\\Http\\K...') #1
  E:\xampp\htdocs\my-school\vendor\laravel\framework\src\Illuminate\Container\Container.php(656):
  Illuminate\Container\Container-&gt;build('MySchool\\Http\\K...', Array)
  #2 E:\xampp\htdocs\my-school\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(613):
  Illuminate\Container\Container-&gt;make('MySchool\\Http\\K...', Array) #3
  E:\xampp\htdocs\my-school\vendor\laravel\framework\src\Illuminate\Container\Container.php(229):
  Illuminate\Foundation\Application-&gt;make('MySchool\\Http\\K...', Array)
  #4 E:\xampp\htdocs\my-school\vendor\laravel\framework\src\Illuminate\Container\Container.php(773):
  Illuminate\Container\Container-&gt;Illuminate\Container\{clo in
  E:\xampp\htdocs\my-school\vendor\laravel\framework\src\Illuminate\Container\Container.php
  on line 776
  </code></pre>
  
  <p>And here is my <strong>composer.json</strong> file content:</p>
  
  <pre><code>{
      "name": "laravel/laravel",
      "description": "The Laravel Framework.",
      "keywords": ["framework", "laravel"],
      "license": "MIT",
      "type": "project",
      "require": {
          "laravel/framework": "5.0.*"
      },
      "require-dev": {
          "phpunit/phpunit": "~4.0",
          "phpspec/phpspec": "~2.1"
      },
      "autoload": {
          "classmap": [
              "database"
          ],
          "psr-4": {
              "App\\": "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>
  
  <p>Can somebody please help me finding an issue with my project?</p>