目前文档中心,能够看到各个文件,但是打开的时候报出这个错误
严重: Servlet.service() for servlet JustepDocFileServlet threw exception
org.outerj.daisy.runtime.DaisyRTException: RepositoryException
at com.justep.doc.httpconnector.HttpConnector.service(Unknown Source)
at com.justep.doc.httpconnector.FileServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
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:103)
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:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.outerj.daisy.repository.DocumentNotFoundException: A document with id 1-defaultDocNameSpace does not exist.
at org.outerj.daisy.repository.commonimpl.DocId.parseDocIdThrowNotFound(DocId.java:99)
at org.outerj.daisy.repository.commonimpl.RepositoryImpl.getDocument(Unknown Source)
at com.justep.doc.httpconnector.handlers.FileInfoHandler.handleRequest(Unknown Source)
at com.justep.doc.httpconnector.HttpConnector$PathHandler.handle(Unknown Source)
... 15 more
Caused by: org.outerj.daisy.repository.namespace.NamespaceNotFoundException: The namespace named "defaultDocNameSpace" does not exist.
at org.outerj.daisy.repository.commonimpl.namespace.NamespaceCache.getNamespace(NamespaceCache.java:65)
at org.outerj.daisy.repository.commonimpl.namespace.CommonNamespaceManager.getNamespace(CommonNamespaceManager.java:76)
at org.outerj.daisy.repository.commonimpl.DocId.parseDocId(DocId.java:123)
at org.outerj.daisy.repository.commonimpl.DocId.parseDocIdThrowNotFound(DocId.java:97)