title: Failed to instantiate component or class
body: <p>I have moved my Yii application to a production environment.</p>
  <p>It is built using 2amigos Template with ConfigKit and Usuario and in the development environment it works perfectly, but as soon as I went live I got an error:</p>
  <pre class="lang-none prettyprint-override"><code>ReflectionException: Class Da\User\Bootstrap does not exist in /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/di/Container.php:508
  
  Stack trace:
  
  #0 /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/di/Container.php(508): ReflectionClass-&gt;__construct('Da\\User\\Bootstr...')
  #1 /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/di/Container.php(386): yii\di\Container-&gt;getDependencies('Da\\User\\Bootstr...')
  #2 /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/di/Container.php(171): yii\di\Container-&gt;build('Da\\User\\Bootstr...', Array, Array)
  #3 ~~~~~~~~~~~~~~~~~~
  #9 /homepages/21/d800176243/htdocs/twopointsix/bootstrap/web.php(18): yii\base\Application-&gt;__construct(Array)
  #10 /homepages/21/d800176243/htdocs/twopointsix/public/index.php(46): require('/homepages/21/d...')
  #11 {main}
  
  Next yii\di\NotInstantiableException: Failed to instantiate component or class &quot;Da\User\Bootstrap&quot;. in /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/di/Container.php:510
  
  Stack trace:
  
  #0 /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/di/Container.php(386): yii\di\Container-&gt;getDependencies('Da\\User\\Bootstr...')
  #1 /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/di/Container.php(171): yii\di\Container-&gt;build('Da\\User\\Bootstr...', Array, Array)
  #2 /homepages/21/d800176243/htdocs/twopointsix/vendor/yiisoft/yii2/BaseYii.php(345): yii\di\Container-&gt;get('Da\\User\\Bootstr...', Array)
  #3 ~~~~~~~~~~~~
  #8 /homepages/21/d800176243/htdocs/twopointsix/bootstrap/web.php(18): yii\base\Application-&gt;__construct(Array)
  #9 /homepages/21/d800176243/htdocs/twopointsix/public/index.php(46): require('/homepages/21/d...')
  #10 {main}
  </code></pre>
  <p>What may be causing this or where should I look for the error?</p>
  <p>First configuration file:</p>
  <pre class="lang-none prettyprint-override"><code>use SideKit\Config\ConfigKit;
  
  return [
  
       *
       * Base class for all application classes. Here we configure the attributes
       * that do not hold any object configuration such as &quot;components&quot; or
       * &quot;modules&quot;. The configuration of those properties are within submodules of the same name.
       */
  
      'id' =&gt; 'Two Point Six',
  
      'name' =&gt; 'Two Point Six',
  
      'basePath' =&gt; ConfigKit::config()-&gt;getBasePath(),
  
      'vendorPath' =&gt; ConfigKit::config()-&gt;getVendorPath(),
  
      'runtimePath' =&gt; ConfigKit::config()-&gt;getRuntimePath(),
  
      'language' =&gt; ConfigKit::env()-&gt;get('APP_LANGUAGE'),
  
      'bootstrap' =&gt; ['log'],
  ];
  </code></pre>
  <p>User module code:</p>
  <pre><code> &lt;?php
  
      return [
  
           * Dos Amigos User Module
   '''''
  
          'class' =&gt; 'Da\User\Module',
          'enableRegistration' =&gt; true,
          'administratorPermissionName' =&gt; 'administrator',
          'enableGdprCompliance' =&gt; true,
          'mailParams' =&gt; ['fromEmail' =&gt; 'no-reply@twopointsix.com'],
  
          'classMap' =&gt; [
             ~~~~~~~~~
          ],
  
          'controllerMap' =&gt; [
              ~~~~~~~~
              ],
          ],
      ];
  </code></pre>