项目中集成了帆软后报错,如何处理?

报错如下,但是数据库中并没有fr_exerecord表

警告: Column count does not match in statement [INSERT INTO fr_exerecord (tname,type,param,ip,username,userrole,logtime,time,sql,memory,browser) VALUES (?,?,?,?,?,?,?,?,?,?,?)]

java.sql.SQLException: Column count does not match in statement [INSERT INTO fr_exerecord (tname,type,param,ip,username,userrole,logtime,time,sql,memory,browser) VALUES (?,?,?,?,?,?,?,?,?,?,?)]

at com.fr.third.org.hsqldb.jdbc.Util.throwError(Util.java:58)

at com.fr.third.org.hsqldb.jdbc.jdbcPreparedStatement.<init>(jdbcPreparedStatement.java:1833)

at com.fr.third.org.hsqldb.jdbc.jdbcConnection.prepareStatement(jdbcConnection.java:580)

at com.fr.third.org.apache.commons.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:292)

at com.fr.third.org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)

at com.fr.data.core.db.dml.Insert.createPreparedStatementByValidatedParameters(Unknown Source)

at com.fr.data.core.db.dml.AbstractDML.createPreparedStatement(Unknown Source)

at com.fr.data.dao.JdbcOperator.execute(Unknown Source)

at com.fr.data.dao.JdbcOperator.execute(Unknown Source)

at com.fr.record.JdbcTemplate.execute(Unknown Source)

at com.fr.record.DBRecordManager.executeInsert(Unknown Source)

at com.fr.record.DBRecordManager.recordExecuteInfo(Unknown Source)

at com.fr.log.LogUtils.recordExecuteInfo(Unknown Source)

at com.fr.log.LogUtils.recordExecuteInfoWithCondition(Unknown Source)

at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source)

at com.fr.log.LogUtils.executeAndLogRecord(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.calResultWorkBook(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.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.A.$C.A(Unknown Source)

at com.fr.web.core.A.$C.A(Unknown Source)

at com.fr.web.core.A.pB.A(Unknown Source)

at com.fr.web.core.A.DB.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.A.mB.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 javax.servlet.http.HttpServlet.service(HttpServlet.java:624)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

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

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

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

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

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

at org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:90)

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

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

at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:140)

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

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

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

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

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

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

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

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

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

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

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

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

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

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

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

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:319)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)


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

楼主:参考文档-嵌入式部署-https://help.finereport.com/doc-view-763.html


【fr_exerecord】是FR内置库finedb库的表!

  • 2关注人数
  • 143浏览人数
  • 最后回答于:2019-12-11 10:54
    请选择关闭问题的原因
    确定 取消
    返回顶部