Jump to content
JasperReports Library 7.0 is now available ×

iReport 5.6 : Not able to add Derby database connection


dhananjaypatade0101

Recommended Posts

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.0ireportmodulesext -Did not work. I

 

s there any other configuration that is required?

Link to comment
Share on other sites

  • 2 years later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...