You need to enable JavaScript to run this app. AEM 6.5 SP2环境下Author、Publisher端报No renderer html错误
优惠活动
大模型
产品
解决方案
定价
更多

AEM 6.5 SP2环境下Author、Publisher端报No renderer html错误

AEM 6.5 SP2 报错处理说明

基础场景

  • 适用版本:AEM 6.5 Service Pack 2
  • Author端触发条件:通过editor.html打开任意页面时,error.log输出错误日志
  • Publisher端触发条件:访问发布后的内容页面时,error.log输出错误日志

Author端报错日志

17.06.2020 08:03:30.656 错误 [172.18.8.207 [1592395410151] GET /editor.html/content/tempProject/en/home/resources/tech-info.html HTTP/1.1]  org.apache.sling.servlets.get.impl.DefaultGetServlet
***无html扩展名对应的渲染器,无法渲染MergedResource类型资源***
[路径=/mnt/overlay/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_translation/granite:rendercondition, 关联资源列表=[/apps/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_translation/granite:rendercondition]]
17.06.2020 08:03:30.657 错误 [172.18.8.207 [1592395410151] GET /editor.html/content/tempProject/en/home/resources/tech-info.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet 无html扩展名对应的渲染器,无法渲染MergedResource类型资源 [路径=/mnt/overlay/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_tmupdate/granite:rendercondition, 关联资源列表=[/apps/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/ct_tmupdate/granite:rendercondition]]

Publisher端报错日志

错误日志文件:error.log.2020-06-13
13.06.2020 07:55:53.941 错误 [172.18.8.207 [1592049353434] GET //content/tempProject/en/home/resources/tech-info.html HTTP/1.1]  org.apache.sling.servlets.get.impl.DefaultGetServlet
***无html扩展名对应的渲染器,无法渲染JcrNodeResource类型资源***
节点类型=nt:unstructured,父类型=null,路径=/content/tempProject/en/home/resources/tech-info/jcr:content/par_content/heroimage_msm_moved_13
13.06.2020 07:55:53.941 错误 [172.18.8.207 [1592049353434] GET /content/tempProject/en/home/resources/tech-info.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet 无html扩展名对应的渲染器,无法渲染JcrNodeResource类型资源,节点类型=nt:unstructured,父类型=null,路径=/content/tempProject/en/home/resources/tech-info/jcr:content/par_content/richtexteditor_msm_moved_13

对应处理方案

Author端报错处理

  • 该报错属于AEM 6.5 SP2的已知非阻塞性问题:报错指向的granite:rendercondition类型资源本身无需输出HTML内容,Sling默认GET Servlet会尝试匹配对应扩展名的渲染器,匹配失败就会输出该ERROR日志,不会影响页面编辑器的实际使用。
  • 若要消除该报错,可选择以下任一方式处理:
    • 直接调整日志配置,过滤org.apache.sling.servlets.get.impl.DefaultGetServlet输出的该类ERROR日志,忽略不影响功能的非必要报错。
    • 为granite:rendercondition类型资源配置对应的Sling渲染器,或修改Sling默认GET Servlet的配置,仅对需要渲染的资源类型进行渲染匹配。

Publisher端报错处理

  • 报错原因:par_content下的heroimage_msm_moved_13、richtexteditor_msm_moved_13节点为nt:unstructured类型,未配置正确的sling:resourceType属性,也没有对应的渲染脚本,Sling找不到匹配的HTML渲染器就会输出该报错。这类节点通常是MSM(多站点管理)移动内容后残留的无用节点。
  • 处理方式:
    • 确认节点为无用残留节点时,直接从内容仓库中删除对应节点即可消除报错。
    • 若节点需要保留并渲染,为节点补充正确的sling:resourceType属性,指向对应组件的渲染路径,确保路径下存在对应的HTML渲染脚本。

内容的提问来源于stack exchange,提问作者Archana Singh

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.12.04 21:06:01