无法在openCMS中使用站点地图编辑器

时间:2012-04-20 14:26:03

标签: opencms

我是openCMS的新手。我无法使用Sitemap编辑器,当我点击.config文件时,窗口打开并显示错误:

  

“从路径读取资源时出错”/.content/.config".Reason:Unable   阅读资源“/.content/.config”。

错误日志:

org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/.content/.config".
    at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:71)
    at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:334)
    at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
    at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4687)
    at org.opencms.file.CmsObject.readResource(CmsObject.java:2943)
    at org.opencms.file.CmsObject.readResource(CmsObject.java:2910)
    at org.opencms.file.CmsObject.readDefaultFile(CmsObject.java:2238)
    at org.opencms.main.OpenCmsCore.initResource(OpenCmsCore.java:1396)
    at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1595)
    at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/.content/.config".
    at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:2163)
    at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:7310)
    at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:6922)
    at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4685)
    ... 20 more

2 个答案:

答案 0 :(得分:1)

你是否在正确的背景下? OpenCms找不到/.content/.config ...我想你真的想要访问/sites/default/.content/.config?在这种情况下,请在OpenCms资源管理器中设置站点上下文:

Set site context

答案 1 :(得分:0)

你有没有试过这个?

  1. 检查您是否在合适的网站
  2. 检查您是否拥有正确的类型文件夹,这将是subsitemap
  3. 检查" .content"中的类型是否正确这必须是" content_folder"并且.config的类型必须是" sitemap_config"
  4. 检查您是否在元素类型容器页面上设置了标题