FineReport查询报错找不到类

查询报表报错说找不到类,服务重启后又可以重新查询,不知道是什么原因

09:08:54 http-nio-8080-exec-5 ERROR [standard] Could not initialize class com.fr.report.core.A.B.B

 java.lang.NoClassDefFoundError: Could not initialize class com.fr.report.core.A.B.B

at com.fr.report.cell.cellattr.highlight.AbstractStyleHighlightAction.getPageRWorkSheet(Unknown Source)

at com.fr.report.cell.cellattr.highlight.AbstractStyleHighlightAction.action(Unknown Source)

at com.fr.report.cell.cellattr.highlight.DefaultHighlight.action(Unknown Source)

at com.fr.report.cell.cellattr.highlight.HighlightGroup.execute(Unknown Source)

at com.fr.report.core.A.J$_A.D(Unknown Source)

at com.fr.report.core.A.J$_A.B(Unknown Source)

at com.fr.report.core.A.J$_A.B(Unknown Source)

at com.fr.report.core.A.J$_A.B(Unknown Source)

at com.fr.report.core.A.J$_A.B(Unknown Source)

at com.fr.report.core.A.J$_A.B(Unknown Source)

at com.fr.report.core.A.J.execute4ECReport(Unknown Source)

at com.fr.report.core.A.J.execute(Unknown Source)

at com.fr.report.worksheet.WorkSheet.execute(Unknown Source)

at com.fr.report.core.sheet.AbstractWorkBookExecutor._execute(Unknown Source)

at com.fr.report.core.sheet.AbstractWorkBookExecutor.execute(Unknown Source)

at com.fr.main.impl.WorkBook.execute(Unknown Source)

at com.fr.main.impl.WorkBook.execute(Unknown Source)

at com.fr.web.cache.ReportCache.getResultWorkBook(Unknown Source)

at com.fr.stable.PageActor.getResultBookFromCacheIfNeed(Unknown Source)

at com.fr.main.impl.WorkBookTemplateDelegate.execute(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.execute(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.computeBook2Show$original$I55TVp0q(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.computeBook2Show$original$I55TVp0q$accessor$Vl9uIpmA(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor$auxiliary$3vUOfBsG.call(Unknown Source)

at com.fr.intelli.metrics.MonitorInterceptor.intercept(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.computeBook2Show(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.initBook2Show(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.getWorkBook2Show(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.getWorkBook2Show(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.getResultWorkBook(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.createPageSetChain(Unknown Source)

at com.fr.web.core.ReportSessionIDInfor.getReportPage(Unknown Source)

at com.fr.web.core.B.qA.A(Unknown Source)

at com.fr.web.core.B.qA.A(Unknown Source)

at com.fr.web.core.B.kA.A(Unknown Source)

at com.fr.web.core.B.KA.actionCMD(Unknown Source)

at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source)

at com.fr.web.core.WebActionsDispatcher.dealForActionDefaultCmd(Unknown Source)

at com.fr.web.core.B.hA.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:292)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

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:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at com.fr.decision.base.DecisionServletInitializer$4.doFilter(Unknown Source)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)

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)

09:08:54 ServiceExecuteRunnable3 DEBUG [standard] Invoke Inserter.insertData successfully ! Do commit!

 09:08:54 ServiceExecuteRunnable0 DEBUG [standard] Invoke Inserter.insertData successfully ! Do commit!

 09:08:54 ServiceExecuteRunnable3 DEBUG [standard] Invoke insertData cost time:186 ms

 09:08:54 ServiceExecuteRunnable0 DEBUG [standard] Invoke insertData cost time:167 ms

 09:08:54 ServiceExecuteRunnable0 DEBUG [standard] Invoke Inserter.insertData successfully ! Do commit!

 09:08:54 ServiceExecuteRunnable0 DEBUG [standard] Invoke insertData cost time:131 ms


FineReport liuxq 发布于 2020-6-8 10:27
1min目标场景问卷 立即参与
回答问题
悬赏:5 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
zsh331Lv8专家互助
发布于2020-6-8 10:37

楼主: 这种一般是"缺JAR包或JAR包冲突"导致,根据表述重启后生效,感觉是JAR包冲突的可能性较大,先升级下jar版本再看看效果吧!


FineReport升级指南-https://help.finereport.com/doc-view-1163.html


  • liuxq liuxq(提问者) 公司的技术指导运维到期了,可以在管理平台,系统管理-智能运维-备份还原-更新升级出直接更新jar包么,这样会有什么影响?
    2020-06-08 14:42 
  • zsh331 zsh331 回复 liuxq(提问者) 应该没有问题。
    2020-12-15 19:55 
  • 2关注人数
  • 893浏览人数
  • 最后回答于:2020-6-8 10:37
    请选择关闭问题的原因
    确定 取消
    返回顶部