title: Run time composer error in laravel 4
body: <p>I get the following error when i update composer in laravel 4</p>
  
  <pre><code>Nothing to install or update
  Reading ./composer.lock
  Generating autoload files
  Executing command (CWD): php artisan clear-compiled
  
  Fatal error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\cfm_mgt_sys\bootstrap\start.php on line 14
  Script php artisan clear-compiled handling the post-update-cmd event returned with an error
  
  
  
    [RuntimeException]
    Error Output:
  
  
  
  Exception trace:
   () at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:177
   Composer\EventDispatcher\EventDispatcher-&gt;doDispatch() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:91
   Composer\EventDispatcher\EventDispatcher-&gt;dispatchScript() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Installer.php:342
   Composer\Installer-&gt;run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Command/UpdateCommand.php:140
   Composer\Command\UpdateCommand-&gt;execute() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257
   Symfony\Component\Console\Command\Command-&gt;run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:874
   Symfony\Component\Console\Application-&gt;doRunCommand() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:195
   Symfony\Component\Console\Application-&gt;doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:146
   Composer\Console\Application-&gt;doRun() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:126
   Symfony\Component\Console\Application-&gt;run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Console/Application.php:83
   Composer\Console\Application-&gt;run() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer:43
   require() at C:\ProgramData\ComposerSetup\bin\composer.phar:25
  
  
  update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|v
  vv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]
  </code></pre>
  
  <p>Please can someone help as to how to go about solving this. 
  Thanks in advance</p>