我有以下問題無法打開驅動程序的連接:org.eclipse.birt.report.data.oda.jdbc
在Eclipse的報表設計角度來看,當我嘗試預覽我得到的以下錯誤:
Chart NewChart:
+ 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: com.mysql.jdbc.Driver.
我還檢查了在Eclipse中的文件夾org.eclipse.birt.report.data.oda.jdbc /驅動器,它是空的。它應該是? 我檢查了externalLibs目錄,在那裏我有mysql-connector.jar,我不知道接下來要檢查什麼。
所以......我無法在eclipse和jboss中查看報告。 我將mysql-connector-java-5.1.11-bin.jar複製到了eclipse-eclipse \ eclipse 3.5.2 RCP + JEE \ plugins \ org.eclipse.birt.report.data.oda.jdbc_2.5.2的 。 v20100205 \ drivers 和eclipse \ eclipse 3.5.2 RCP + JEE \ plugins \ org.eclipse.birt.report.viewer_2.5.2.v20091210 \ birt \ WEB-INF \ plugins \ org.eclipse.birt.report.data.oda .jdbc_2.5.2.v20100205 \驅動程序 和jboss deploy \ birt.war \ WEB-INF \ platform \ plugins \ org.eclipse.birt.report.data.oda.jdbc_2.6.1.v20100909 \驅動程序 – Mara 2011-02-16 19:27:42
for eclipse - 處理過程中發生異常。有關詳細信息,請參閱以下消息: 無法打開驅動程序的連接:org.eclipse.birt.report.data.oda.jdbc。 org.eclipse.birt.report.data.oda.jdbc.JDBCException:無法加載JDBC驅動程序類:com.mysql.jdbc.Driver。 對於JBoss - 對於JBoss \t列表(ID = 997): - 無法加載報表查詢:與ID生成報表文件時的報表元素997 – Mara 2011-02-16 19:29:47