org.eclipse.birt.report.data.oda.jdbc.JDBCException: 无法加载 JD



我收到错误:

org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot load JDBC Driver class: org.postgresql.Driver.
   at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1245)
   at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1224)
   at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
   at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)

BIRT 设计器版本 4.4.1.v201408290142。

BIRT 查看器版本:4.3.0。

阿帕奇雄猫/6.0.24

操作系统: AIX 6.1

爪哇 6

我已经把postgresql-9.2-1002.jdbc4.jar放在WEB-INF/lib文件夹中,但例外仍然存在。报告从日食运行,没有错误。

你能建议吗?

可能是设计器中使用的驱动程序与您复制到查看器的驱动程序不同。在您的 eclipse 插件目录中,您将找到 org.eclipse.birt.report.data.oda.jdbc_4.4.1.v201408290142 文件夹,其中包含报告的 jdbc 驱动程序。将其复制并粘贴到 WEB-INF/lib 文件夹中。这有望奏效。祝你好运!!

抱歉回答

很晚!似乎一切都很好,雄猫需要重新启动,之后一切正常。

最新更新