登陆系统后做公告发布功能(附带上传word文档),在studio中启动查看没问题,而直接用tomcat启动,点击首页的公告栏目条提示,开打文件报错如下:
2017-03-22 13:27:22 [http-8090-15] [com.justep.ui.servlet.MainServlet] ERROR: org.dom4j.DocumentException: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。) Nested exception: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。)
javax.servlet.ServletException: java.lang.RuntimeException: org.dom4j.DocumentException: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。) Nested exception: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。)
at com.justep.ui.servlet.MainServlet.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 com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:745)
Caused by: java.lang.RuntimeException: org.dom4j.DocumentException: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。) Nested exception: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。)
at com.justep.ui.util.PageUtils.readFile(Unknown Source)
at com.justep.ui.WindowServer2.service(Unknown Source)
... 17 more
Caused by: org.dom4j.DocumentException: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。) Nested exception: D:\BeX5\model\UI2\OA\knowledge\components\office\.cache\officeViewerWindow\main_desktop_zh_CN_Computer_4685_no.html (系统找不到指定的文件。)
at org.dom4j.io.SAXReader.read(SAXReader.java:266)
... 19 more