CrystalClear报告错误[219] [池管理器]无法加载指定的驱动程序:null null

时间:2018-05-13 16:37:51

标签: java jdbc crystal-reports

当从eclipse IDE启动java应用程序时,我们能够正常运行水晶报告。

但是,部署后,运行报告时会出现以下情况。

[CC,TRACE] Report Error [225] The DB connection to "jdbc:inetora:cs-v-oracx4sd1.champ.aero:1521:CX4SD111?logging=true" failed (see crystalclear.properties): [Pool Manager] Cannot load specified driver: null null.
[CC,TRACE]  at com.inet.report.b1.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.y(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.q(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.run(Unknown Source)
[CC,TRACE]  at com.inet.report.zy.h$a.run(Unknown Source)
[CC,TRACE] Caused by: Report Error [219] [Pool Manager] Cannot load specified driver: null null
[CC,TRACE]  at com.inet.report.Engine.a(Unknown Source)
[CC,TRACE]  at com.inet.report.Engine.a(Unknown Source)
[CC,TRACE]  at com.inet.report.Engine.a(Unknown Source)
[CC,TRACE]  at com.inet.report.Engine.throwException(Unknown Source)
[CC,TRACE]  at com.inet.report.zy.a.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.a(Unknown Source)
[CC,TRACE]  ... 5 more
[CC,TRACE] Caused by: java.sql.SQLException: No suitable driver
[CC,TRACE]  at java.sql.DriverManager.getDriver(DriverManager.java:315)
[CC,TRACE]  ... 7 more
[CC,TRACE] caused by: Report Error [219] [Pool Manager] Cannot load specified driver: null null
[CC,TRACE]  at com.inet.report.Engine.a(Unknown Source)
[CC,TRACE]  at com.inet.report.Engine.a(Unknown Source)
[CC,TRACE]  at com.inet.report.Engine.a(Unknown Source)
[CC,TRACE]  at com.inet.report.Engine.throwException(Unknown Source)
[CC,TRACE]  at com.inet.report.zy.a.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.y(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.q(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.run(Unknown Source)
[CC,TRACE]  at com.inet.report.zy.h$a.run(Unknown Source)
[CC,TRACE] Caused by: java.sql.SQLException: No suitable driver
[CC,TRACE]  at java.sql.DriverManager.getDriver(DriverManager.java:315)
[CC,TRACE]  ... 7 more
[CC,TRACE] caused by: java.sql.SQLException: No suitable driver
[CC,TRACE]  at java.sql.DriverManager.getDriver(DriverManager.java:315)
[CC,TRACE]  at com.inet.report.zy.a.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.a(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.y(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.q(Unknown Source)
[CC,TRACE]  at com.inet.report.b1.run(Unknown Source)
[CC,TRACE]  at com.inet.report.zy.h$a.run(Unknown Source)

以下jar存在并存在于类路径中 如水晶,8.x.jar oranxo-3.12.jar

是否有人熟悉上述错误?

Cannot load specified driver: null null

用于在错误中显示null null的变量怎么样? 我想会给我们一些关于这个问题的线索,但我不知道。 我们的应用程序的早期版本没有出现此错误。 定义的所有参数与之前相同。

1 个答案:

答案 0 :(得分:0)

原来是一个类路径错误。 Oranxo驱动程序由应用程序加载,但未能将其加载到报告引擎。