报表导出PDF,打开格式错误

V10升级到最新的Jar包,导出PDF,打开报格式错误,请问是什么原因?

image.png

image.png

FineReport ludis 发布于 2020-9-11 15:58
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共3回答
最佳回答
0
zsh331Lv8专家互助
发布于2021-4-1 19:01

如确认是升级版本引起的问题,建议回滚到「历史版本」即可;

回滚方式参考:更新升级-https://help.fanruan.com/finereport/doc-view-3815.html

——————————

image.png

最佳回答
0
xiaomiliLv6初级互助
发布于2020-9-11 16:29

所以我用的老版本2020-02-27的版本的哈哈,

最佳回答
0
LouisLinLv4初级互助
发布于2020-9-13 11:27

报错操作之后看日志,日志位置FR安装路径下的fanruan.log文件,然后截图我看下

  • ludis ludis(提问者) 09:34:38 http-nio-7070-exec-76 ERROR [standard] com.fr.base.FRContext.getLogger()Lcom/fr/log/FRLoggerProvider; java.lang.NoSuchMethodError: com.fr.base.FRContext.getLogger()Lcom/fr/log/FRLoggerProvider; at com.fr.plugin.fontprovider.ExtraFontImpl.createFontCacheDirectory(Unknown Source) at com.fr.plugin.performance.pdfstream.IText7FontWrapper.insertExtraFont(Unknown Source) at com.fr.plugin.performance.pdfstream.IText7FontWrapper.prepareFont(Unknown Source) at com.fr.plugin.performance.pdfstream.IText7FontWrapper.(Unknown Source) at com.fr.plugin.performance.pdfstream.PDFStreamExporter.init$original$X48Pux2I(Unknown Source) at com.fr.plugin.performance.pdfstream.PDFStreamExporter.init$original$X48Pux2I$accessor$pyXn1xTY(Unknown Source) at com.fr.plugin.performance.pdfstream.PDFStreamExporter$auxiliary$Qpa3oYpL.call(Unknown Source) at com.fr.intelli.record.FocusInterceptor.intercept(Unknown Source) at com.fr.plugin.performance.pdfstream.PDFStreamExporter.init(Unknown Source) at com.fr.plugin.performance.pdfstream.PDFStreamExporter.(Unknown Source) at com.fr.plugin.performance.pdfstream.PDFStreamExporterCreator.createPDFExporter(Unknown Source) at com.fr.web.core.reserve.PDFExporterFactory.getPDFExporter(Unknown Source) at com.fr.web.core.reserve.ExportFactory$1.getPDFExporter(Unknown Source) at com.fr.web.core.reserve.ExportFactory$1.newExportCollection(Unknown Source) at com.fr.web.core.reserve.DefaultExportExtension.createCollection(Unknown Source) at com.fr.web.core.reserve.ExportService.dealWithExport(Unknown Source) at com.fr.web.core.reserve.ExportService.process(Unknown Source) at com.fr.stable.fun.impl.NoOPService.process(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source) at com.fr.web.controller.BaseRequestService.preview(Unknown Source) at com.fr.web.controller.ReportRequestService.preview(Unknown Source) at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221) at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) at com.fr.third.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:747) at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:676) at com.fr.third.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at com.fr.third.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938) at com.fr.third.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) at com.fr.third.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) at com.fr.third.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) at com.fr.third.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at com.fr.decision.base.DecisionServletInitializer$6.doFilterInternal(Unknown Source) at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at com.fr.decision.base.DecisionServletInitializer$4.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at com.fr.third.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)
    2020-09-14 09:42 
  • 4关注人数
  • 808浏览人数
  • 最后回答于:2021-4-1 19:01
    请选择关闭问题的原因
    确定 取消
    返回顶部