从AEM 6.1升级到6.2后,我在作者上加载页面时开始在日志中看到以下异常。
ERROR 2017-05-05 12:15:02.329 [172.19.0.1 [1493986502136] GET
/etc/designs/tello/clientlibs_ps.min.js HTTP/1.1]
(com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl) - Cannot
load js libraries
javax.jcr.AccessDeniedException: null
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$1.perform(NodeImpl.java:177)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$1.perform(NodeImpl.java:168)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:208)
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.getParent(NodeImpl.java:168)
at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.loadLibrary(HtmlLibraryManagerImpl.java:1545)
at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.loadLibs(HtmlLibraryManagerImpl.java:1475)
at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.assertLoaded(HtmlLibraryManagerImpl.java:1336)
at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.assertResolved(HtmlLibraryManagerImpl.java:1354)
at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.getLibrary(HtmlLibraryManagerImpl.java:982)
at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.getLibrary(HtmlLibraryManagerImpl.java:967)
at com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl.getLibrary(HtmlLibraryManagerImpl.java:960)
正如异常所示,AEM在加载我的clientlib时遇到问题,但我不确定如何解决它以及AEM 6.2中究竟发生了哪些变化。我还没有看到任何可以解释这一点的文档。当我加载任何自定义页面时,甚至在我尝试加载http://localhost:4502/siteadmin或http://localhost:4502/miscadmin时都会发生这种情况(在这两种情况下页面都是空白的)。任何帮助都会有用。