数据集报错
数据集(27)
自动合并(10)
tab标签分模块(7)
循环(5)
不想横向分页(8)
图表开发(8)
数据集定时刷新(9)
docker(5)
导出excharts图形(6)
分组表头(6)
中文参数乱码(6)
润乾报表(159)
第页/共页
- : 产生数据工厂: com.raqsoft.report.dataset.SQLDataSetFactory 失败 (数据集名称):ds1 错误来源:Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- com.raqsoft.report.usermodel.Engine.calcDataSet(Engine.java:179)
- com.raqsoft.report.usermodel.Engine.calcDataSet(Engine.java:145)
- com.raqsoft.report.usermodel.Engine.calc(Engine.java:95)
- com.raqsoft.report.cache.LocalReportCache.getReport(LocalReportCache.java:149)
- com.raqsoft.report.cache.ReportCache.getReport(ReportCache.java:177)
- com.raqsoft.report.tag.ParamTag.doStartTag(ParamTag.java:397)
- org.apache.jsp.reportJsp.showReport_jsp._jspService(showReport_jsp.java:260)
- org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
- org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
- org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
- org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
- org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
- com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:44)
- org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
- org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
- org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
- org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
- org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
- org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
- org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
- org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
- org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
- org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
- org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
- org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
- java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- java.lang.Thread.run(Thread.java:748)
- 查询
-
产生数据工厂: com.raqsoft.report.dataset.ProcDataSetFactory 失败 (数据集名称):ds2 错误来源:错误来源:java.lang.NullPointerException
com.raqsoft.report.usermodel.Engine.calcDataSet(Engine.java:179)
com.raqsoft.report.usermodel.Engine.calcDataSet(Engine.java:145)
com.raqsoft.report.usermodel.Engine.calc(Engine.java:95)
com.raqsoft.report.cache.LocalReportCache.getReport(LocalReportCache.java:149)
com.raqsoft.report.cache.ReportCache.getReport(ReportCache.java:177)
com.raqsoft.report.tag.HtmlTag.generateHtmlString(HtmlTag.java:1594)
com.raqsoft.report.tag.HtmlTag.doStartTag(HtmlTag.java:281)
org.apache.jsp.reportJsp.showReport_jsp._jspService(showReport_jsp.java:311)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
com.raqsoft.report.webutil.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:44)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:748)
数据集(27)
自动合并(10)
tab标签分模块(7)
循环(5)
不想横向分页(8)
图表开发(8)
数据集定时刷新(9)
docker(5)
导出excharts图形(6)
分组表头(6)
中文参数乱码(6)
润乾报表(159)
这个错一般就是数据库的驱动 jar 和数据库版本不匹配导致的,应该是 mysql 库吧?找一个和数据库版本相匹配的 jar 包替换原来自带的
很奇怪的现象,数据库 5.7、JDK 1.8、tomcat 版本一致的情况下, jdbc 包版本 windows 使用 8.0 不报错、linux 使用 5.1 不报错
你那个不同环境下用不同的 jar 不同的现象,lib 下是这两个 jar 都有还是怎么测试的?
使用时将其中一个删掉,在重启 tomcat。
我这边 mysql 是 8.0.33,用 mysql-connector-j-8.0.33.jar 这个包正常,还有 驱动类也可以改成 com.mysql.cj.jdbc.Driver 这个试下,前提也是要保证驱动版本匹配