title: Cq ui clientlib is not accessible
body: <p>I have util page that used in publish enviromets. HtmlLibraryManager is used to include  ui</p>
  
  <pre><code>&lt;%
          HtmlLibraryManager htmlMgr = sling.getService(HtmlLibraryManager.class);
          if (htmlMgr != null) {
              htmlMgr.writeCssInclude(slingRequest, out, "cq.wcm.edit");
              htmlMgr.writeJsInclude(slingRequest, out, "cq.wcm.edit");
          }        
  %&gt;
  </code></pre>
  
  <p>But some requested libs doesn't loaded</p>
  
  <p><code>/libs/cq/ui/widgets.js</code> and <code>/libs/cq/ui/rte.js</code></p>
  
  <p>They brokes my page.</p>
  
  <p>Also if I will try to acces them <code>http://servername:port/libs/cq/ui/widgets.js</code> , error is returned:</p>
  
  <blockquote>
    <p>The requested file cannot be found.</p>
  </blockquote>
  
  <p>How could I get access to this clientlibs?</p>
  
  <p>AEM 6.0 is used.</p>
  
  <p>I have found follwing error in log file: </p>
  
  <pre><code>23.09.2015 11:03:55.124 *ERROR* [172.18.251.90 [1443020634874] GET /libs/cq/ui/widgets.js HTTP/1.1] com.day.cq.widget.impl.HtmlLibraryManagerImpl Error while saving changes: javax.jcr.RepositoryException: Error during assembly of /libs/c
  q/ui/widgets.js. reverting.
  23.09.2015 11:03:55.124 *ERROR* [172.18.251.90 [1443020634874] GET /libs/cq/ui/widgets.js HTTP/1.1] com.day.cq.widget.impl.HtmlLibraryManagerImpl Error while sending cached library: javax.jcr.RepositoryException: Error during assembly of
   /libs/cq/ui/widgets.js
  23.09.2015 11:03:55.125 *ERROR* [172.18.251.90 [1443020634874] GET /libs/cq/ui/widgets.js HTTP/1.1] com.day.cq.widget.impl.HtmlLibraryServlet Cannot create library for /libs/cq/ui/widgets.js
  java.io.IOException: Error while sending cached library: javax.jcr.RepositoryException: Error during assembly of /libs/cq/ui/widgets.js
  </code></pre>