title: zend framwork2 class does not exist
body: <p>I create the controller and the view but I'm getting this error:</p>
  
  <p>Zend\Mvc\Controller\ControllerManager::createFromInvokable: failed retrieving "newprojectcontrollernewproject(alias: Newproject\Controller\Newproject)" via invokable class "Newproject\Controller\new_controller"; class does not exist</p>
  
  <p>Module.php</p>
  
  <pre><code>namespace Newproject;
  
  class Module
  {
      public function getConfig()
      {
          return include __DIR__ . '/config/module.config.php';
      }
  
      public function getAutoloaderConfig()
      {
          return array(
              'Zend\Loader\StandardAutoloader' =&gt; array(
                  'namespaces' =&gt; array(
                      __NAMESPACE__ =&gt; __DIR__ . '/src/' . __NAMESPACE__,
                  ),
              ),
          );
      }
  }
  </code></pre>
  
  <p>module.config.php</p>
  
  <pre><code>return array(
      'controllers' =&gt; array(
          'invokables' =&gt; array('Newproject\Controller\Newproject' =&gt; 'Newproject\Controller\new_controller'),
      ),
      'router' =&gt; array(
          'routes' =&gt; array(
              'newproject' =&gt; array(
                  'type' =&gt; 'segment',
                  'options' =&gt; array(
                      'route' =&gt; '/newproject[/:action][/:id]',
                      'constraints' =&gt; array(
                          'action' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                          'id' =&gt; '[0-9]+'),
                          'defaults' =&gt; array(
                              'controller' =&gt; 'Newproject\Controller\Newproject',
                              'action' =&gt; 'index'
                          ),
                      )
                  )
              )
          ),
          'view_manager' =&gt; array('template_path_stack' =&gt; array('newproject' =&gt; __DIR__.'/../view'),
      ),
  );
  </code></pre>
  
  <p>Controller class new_controller.php</p>
  
  <pre><code>namespace Newproject\Controller;
  
  use Zend\Mvc\Controller\AbstractActionController; 
  
  class new_controller extends AbstractActionController 
  {
      public function indexAction()
      {
      } 
  }
  </code></pre>