iReport 5.6 : Not able to add Derby database connection

0

I am trying to add derby database connection to iReport 5.6v but getting below exception when I click on Test.

 

ClassNotFoundError! Msg: org.apache.derby.jdbc.ClientDriver Possible not found class: org.apache.derby.jdbc.ClientDriver

 

1.Tried adding derby client jar from Tools-> Options-> Classpath -> Add jar -Did not work

2.Tried adding jar directly to iReport-5.6.0\ireport\modules\ext -Did not work. I

 

s there any other configuration that is required?

dhananjaypatade0101's picture
Joined: Aug 8 2017 - 4:29am
Last seen: 3 years 9 months ago

Its happening for me as well. Any suggestions here.

prashanth7582 - 1 year 5 months ago

1 Answer:

0

Please try with lower versions of Apache Derby  DB JDK 

Faced similar issue with jasper reports server 7.8.0 community edition, Derby 10.15, compatible with JDK 9+ was not loading.

https://community.jaspersoft.com/project/jasperreports-server/releases

Workaround: Use Derby 10.14,  compatible with JDK 8+, and Derby DB loads.

http://db.apache.org/derby/derby_downloads.html

 

Error seen in logs: jar file has been built with version 53 and higher, can read only version  52 and lower

shawn.f's picture
Joined: Jan 22 2021 - 9:46am
Last seen: 1 month 3 weeks ago
Feedback