title: Symfony 2.4 : Knp paginator Bundle Installation issue
body: <p>I got this error while I configured <a href="https://github.com/KnpLabs/KnpPaginatorBundle" rel="nofollow">Knp paginator Bundle</a> with Symfony 2.4</p>
  
  <p><strong>ERROR :
  ClassNotFoundException: Attempted to load class "KnpPaginatorBundle" from namespace "Knp\Bundle\PaginatorBundle" in D:\Projects\wamp\www\Stutorial\app\AppKernel.php line 29. Do you need to "use" it from another namespace?</strong></p>
  
  <p>I followed this steps to install <a href="https://github.com/KnpLabs/KnpPaginatorBundle" rel="nofollow">Knp paginator Bundle</a>.</p>
  
  <pre><code># Install Knp components
  git clone git://github.com/KnpLabs/knp-components.git vendor/knp-components
  
  # Install knp paginator bundle
  git clone git://github.com/KnpLabs/KnpPaginatorBundle.git vendor/bundles/Knp/Bundle/PaginatorBundle
  </code></pre>
  
  <p>My config.yml file:</p>
  
  <pre><code>knp_paginator:
      page_range: 5                      # default page range used in pagination control
      default_options:
          page_name: page                # page query parameter name
          sort_field_name: sort          # sort field query parameter name
          sort_direction_name: direction # sort direction query parameter name
          distinct: true                 # ensure distinct results, useful when ORM queries are using GROUP BY statements
      template:
          pagination: KnpPaginatorBundle:Pagination:sliding.html.twig     # sliding pagination controls template
          sortable: KnpPaginatorBundle:Pagination:sortable_link.html.twig # sort link template
  </code></pre>
  
  <p>I added two lines in my autoload_namespaces.php</p>
  
  <pre><code>'Knp\\Component'      =&gt; array($vendorDir.'/knp-components/src'),
  'Knp\\Bundle'         =&gt; array($vendorDir.'/bundles'),
  </code></pre>
  
  <p>And this line to AppKernel.php file</p>
  
  <pre><code>new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
  </code></pre>