【发布时间】:2015-01-19 17:19:04
【问题描述】:
我遇到了错误:
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。
Apache Tomcat/6.0.24
操作系统:AIX 6.1
Java 6
我已将 postgresql-9.2-1002.jdbc4.jar 放在 WEB-INF/lib 文件夹中,但仍然存在异常。报告从 eclipse 运行,没有错误。
你能建议吗?
【问题讨论】:
-
BIRT 是使用 Web 应用程序的
ClassLoader还是有一些其他配置来查找类?
标签: tomcat jdbc birt postgresql-9.2