1

我是openCMS的新手。我无法使用站点地图编辑器,当我单击 .config 文件时,窗口打开并出现错误:

“从路径“/.content/.config”读取资源时出错。原因:无法读取资源“/.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
4

2 回答 2

1

Are you under the right context? OpenCms cannot find /.content/.config... I guess you really want to access /sites/default/.content/.config? In that case, set the site context in your OpenCms explorer:

Set site context

于 2012-07-05T11:39:22.740 回答
0

你试过这样的东西吗?

  1. 检查您是否在正确的站点
  2. 检查您是否有正确的类型文件夹,这将是子站点地图
  3. 检查您在“.content”中的类型是否正确,必须是“content_folder”,.config 的类型必须是“sitemap_config”
  4. 检查您是否在元素类型容器页面上设置了标题
于 2014-07-07T19:42:09.313 回答