求助,附件上报时,在设计器预览模式上报成功,tomcat下上报系统中上报失败

问题如题。
设计器填报预览模式,上报成功:

部署到tomcat后,在上报系统中上报时报错:

注:其他没有附件上传的上报模板均正常。

数据库表结构如下:

cpt模板如下:

cpt报表填报属性如下:



上报时用到了文件上传下载插件版本是V5.9.5。

log记录如下:
10:17:35 http-nio-8080-exec-3 WARN [root] 文件读取中[Name : 项目图片-测试 - .cpt]  :
com.fr.plugin.customsubmmit.report.ServerPathSubmiterJob
java.lang.ClassNotFoundException: com.fr.plugin.customsubmmit.report.ServerPathSubmiterJob
        at com.fr.plugin.A.F.B.classForName(Unknown Source)
        at com.fr.stable.xml.StableXMLUtils$1.getAttrAsClass(Unknown Source)
        at com.fr.stable.xml.XMLableReader.getAttrAsClass(Unknown Source)
        at com.fr.stable.xml.XMLableReader.getAttrAsClass(Unknown Source)
        at com.fr.general.xml.GeneralXMLTools.readXMLable(Unknown Source)
        at com.fr.report.write.WClassSubmiter.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.general.xml.GeneralXMLTools.readXMLable(Unknown Source)
        at com.fr.report.write.ReportWriteAttr.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.report.worksheet.WorkSheet.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.main.AbstractFineBook.readReportXML(Unknown Source)
        at com.fr.main.AbstractFineBook.readXML(Unknown Source)
        at com.fr.main.AbstractTemplateWorkBook.readXML(Unknown Source)
        at com.fr.stable.xml.XMLableReader.readXMLObject(Unknown Source)
        at com.fr.main.impl.WorkBook.readStream(Unknown Source)
        at com.fr.main.impl.WorkBook.readStream(Unknown Source)
        at com.fr.io.TemplateWorkBookIO.readTemplateWorkBook(Unknown Source)
        at com.fr.web.cache.ReportEntry.getWorkBookTemplate(Unknown Source)
        at com.fr.main.impl.WorkBookTemplateDelegate.__GetCacheWorkBookTemplate(Unknown Source)
        at com.fr.main.impl.WorkBookTemplateDelegate.apply4Parameters(Unknown Source)
        at com.fr.web.core.ReportSessionIDInfor.apply4Parameters(Unknown Source)
        at com.fr.web.core.ReportSessionIDInfor.<init>(Unknown Source)
        at com.fr.web.core.ReportSessionIDInfor.<init>(Unknown Source)
        at com.fr.web.core.Reportlet.createSessionIDInfor(Unknown Source)
        at com.fr.web.core.SessionDealWith.generateSessionID(Unknown Source)
        at com.fr.web.core.reserve.ReportletDealWith.dealWithReportlet(Unknown Source)
        at com.fr.web.core.Reportlet.dealWeblet(Unknown Source)
        at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source)
        at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)
        at com.fr.web.BaseServlet.doGet(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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:745)
10:17:45 http-nio-8080-exec-10 WARN [root] submiter error happens.
数据提交出错
null
com.fr.write.WriteSubmitException: submiter error happens.
数据提交出错
null
        at com.fr.report.write.SubmitHelper.submit(Unknown Source)
        at com.fr.web.core.A.SB.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.WebActionsDispatcher.dealForActionCMD(Unknown Source)
        at com.fr.web.core.A.uC.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.BaseServlet.doGet(Unknown Source)
        at com.fr.web.BaseServlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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:745)
Caused by: com.fr.write.WriteSubmitException: 数据提交出错
null
        at com.fr.report.write.ReportWriteAttr.submit(Unknown Source)
        at com.fr.report.write.SubmitHelper.submit(Unknown Source)
        ... 35 more
Caused by: java.lang.NullPointerException
        at com.fr.report.write.WClassSubmiter.getDBName(Unknown Source)
        at com.fr.report.write.ReportWriteAttr.dealWithConnOfWClassSubmiter(Unknown Source)
        at com.fr.report.write.ReportWriteAttr.dealWithConn(Unknown Source)
        ... 37 more
编辑于 2018-6-28 10:22  
编辑于 2018-6-28 10:24  
FineReport扬帆软行天下 发布于 2018-6-28 10:19
悬赏:2 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
0
Paul_yau发布于2018-6-28 10:19(编辑于 2023-9-6 09:34)
555
最佳回答
0
扬帆软行天下发布于2018-6-28 10:41(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 594浏览人数
  • 最后回答于:2018-6-28 10:41
    活动推荐 更多
    热门课程 更多
    返回顶部