Cq ui clientlib 不可访问

Cq ui clientlib is not accessible

我有用于发布环境的实用程序页面。 HtmlLibraryManager 用于包含 ui

<%
        HtmlLibraryManager htmlMgr = sling.getService(HtmlLibraryManager.class);
        if (htmlMgr != null) {
            htmlMgr.writeCssInclude(slingRequest, out, "cq.wcm.edit");
            htmlMgr.writeJsInclude(slingRequest, out, "cq.wcm.edit");
        }        
%>

但是一些请求的库没有加载

/libs/cq/ui/widgets.js/libs/cq/ui/rte.js

他们破坏了我的页面。

此外,如果我尝试访问它们 http://servername:port/libs/cq/ui/widgets.js ,则会返回错误:

The requested file cannot be found.

我怎样才能访问这个 clientlibs?

使用 AEM 6.0。

我在日志文件中发现了以下错误:

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

问题出在损坏的库中。在 adobe forum

查看更多