title: Zend Framework 1.12 - can not load module's model
body: <p>I have Zend Framework 1.12 application with several modules. So far everything worked well. But I wanted to add mappers to my application and Zend Framework can not find mapper class.</p>
  
  <p>Structure of the project:</p>
  
  <pre><code>-application
     -modules
       -api
       -otms
         -models
           -Mapper
             FormToOnix2.php
           -FeedFile.php
  </code></pre>
  
  <p>Mapper file looks like:</p>
  
  <pre><code>class Otms_Model_Mapper_FormToOnix2
  {
     ...
  }
  </code></pre>
  
  <p>In application.ini I added "Otms_" prefix for autoloading:</p>
  
  <pre><code>autoloaderNamespaces.otms[]   = "Otms_"  
  </code></pre>
  
  <p>But when I try to create mapper object from controller</p>
  
  <pre><code> $test = new Otms_Model_Mapper_FormToOnix2();
  </code></pre>
  
  <p>I receive the following error message</p>
  
  <pre><code>include_once(Otms/Model/Mapper/FormToOnix2.php): failed to open stream: No such file or directory in &lt;b&gt;/cloudware/library/Zend/Loader.php&lt;/b&gt; on line 146
  </code></pre>
  
  <p>At the same time if I try to create object of another Otms model, like :</p>
  
  <pre><code>$file = new Otms_Model_FeedFile();
  </code></pre>
  
  <p>Everything works fine. How to fix problem with mapper loading?</p>