AEM:没有设计'消息显示在错误日志中

时间:2016-03-23 09:02:34

标签: adobe cq5 aem

有谁知道问题是什么?

714 GET /data/www/aem6-dispatcher/cache/content/sites/my_project/404.html HTTP/1.1] com.day.cq.wcm.core.impl.designer.DesignerImpl No design at /etc/designs/my_project. Using default.
272 GET /favicon.ico HTTP/1.1] com.day.cq.wcm.core.impl.designer.DesignerImpl No design at /etc/designs/my_project. Using default.
168 Cannot find Microsoft Cloud Config at /etc/cloudservices/msft-translation/system_default
46 GET /resources/images/img2.jpg HTTP/1.1] com.day.cq.wcm.core.impl.designer.DesignerImpl No design at /etc/designs/my_project. Using default.
40 GET /resources/images/img3.jpg HTTP/1.1] com.day.cq.wcm.core.impl.designer.DesignerImpl No design at /etc/designs/my_project. Using default.

.....

还有很多其他类似的日志。但是显示了favicon和其他图像

来自/ etc / designs / my_project的

.content.xml

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    jcr:primaryType="sling:Folder">
    <clientlib/>
    <jcr:content
        cq:doctype="html_5"
        jcr:primaryType="nt:unstructured"
        jcr:title="My Design"
        sling:resourceType="wcm/core/components/designer"/>
    <favicon.ico/>
</jcr:root>

1 个答案:

答案 0 :(得分:1)

每个项目都有design与内容相关联。它包含用于组件,模板的CSS,JS,图像等。此外,当您在design mode中编辑页面以选择允许的组件时,该信息也会存储在设计中。

您创建的项目似乎没有设计关联,因此警告,项目使用默认路径存储设计信息。

您可以参考official docs了解更多信息。