如何将 Jaybird 驱动程序添加到 iReport
您好,我正在尝试将 Jaybird 驱动程序添加到 iReports,但没有取得太大成功。这就是我到目前为止所做的。
将 jaybird21.dll 和 jaybird-full-2.1.6.jar 复制到:
C:\Program Files\Jaspersoft\iReport-4.1.1\ireport\modules\ext
转到“工具”|“ iReport 中的选项并将 JAR 添加到类路径。
去窗口 |服务并添加了驱动程序。
当我尝试使用此 URL 连接此驱动程序(使用连接...)时:
jdbc:firebirdsql:localhost/3050:C:/GRIP/data/grip11.fdb
我收到以下消息:
unable to add connection, cannot establish a connection to jdbc:firebirdsql:localhost/3050:C:/GRIP/data/grip11.fdb using org.firebird.sql.jdbc.firebirddriver (unable to find suitable driver).
我缺少什么?
Hi I am trying to add the Jaybird driver to iReports without too much success. This is what I have done so far.
Copied jaybird21.dll and jaybird-full-2.1.6.jar to:
C:\Program Files\Jaspersoft\iReport-4.1.1\ireport\modules\ext
Went to Tools | Options in iReport and added JAR to the Classpath.
Went to Window | Services and added the driver.
When I try and connect with this driver (Connect Using...) using this URL:
jdbc:firebirdsql:localhost/3050:C:/GRIP/data/grip11.fdb
I get the following message:
unable to add connection, cannot establish a connection to jdbc:firebirdsql:localhost/3050:C:/GRIP/data/grip11.fdb using org.firebird.sql.jdbc.firebirddriver (unable to find suitable driver).
What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我在使用 Frontbase 时遇到了类似的问题,当您输入 JDBC URL 时,请从 URL 末尾省略数据库
即 jdbc:firebirdsql:localhost/3050
I had a similar issue with Frontbase and when you put in the JDBC URL omit the database from the end of the URL
i.e. jdbc:firebirdsql:localhost/3050
我在尝试向 IReport 添加 jtds 驱动程序时遇到了类似的问题。我尝试将其添加到“工具”的类路径中 -->选项,但它对我也不起作用。
最后我遇到了这个 http://community.jaspersoft.com/ questions/500126/ireports-and-ms-sql-server
我做了以下操作,它对我有用
然后重新启动iReport
希望有帮助!
I faced a similar issue while trying to add a jtds driver to IReport. I tried adding it to the classpath from Tools --> Options but it did not work for me either.
Finally i came across this http://community.jaspersoft.com/questions/500126/ireports-and-ms-sql-server
I did the following and it worked for me
and then restart the iReport
Hope it helps!
我也遇到了一些问题。解决方案是:
如果您想使用此驱动程序设置 jasperserver:
当然,您可以单击“从 iReport 导入”,
这是针对较旧的 iReport - 4.0.2,但我认为它仍然有效。 Jasperserver是4.2.1,我使用tomcat-7.0.19
I had some poblems too. The solution was:
If you want to setup jasperserver with this driver:
of course you can just click "Import from iReport"
This is for somewhat older iReport - 4.0.2 but I think it's still valid. Jasperserver is 4.2.1 and I use tomcat-7.0.19