steve.dyke Posted November 27, 2015 Share Posted November 27, 2015 I am trying to set up a connection using the Data Adapter but to no avail.Driver: sun.jdbc.odbc.jdbcOdbcDriverI have a DNS set up to a db2 database(Has worked in iReport 2.3 and 5.6)When I test I get ClassNotFoundException sun.jdbc.odbc.jdbcOdbcDriver cannot be found by net.sf.jasperreports_6.2.0.final Link to comment Share on other sites More sharing options...
hozawa Posted November 29, 2015 Share Posted November 29, 2015 This probably isn't a JasperReports problem but with the JDK. Oracle decided to drop jdbc-odbc bridge. You'll need to get a different jdb-odbc bridge. You'll be able to find them by googling. Link to comment Share on other sites More sharing options...
steve.dyke Posted November 30, 2015 Author Share Posted November 30, 2015 I have the jt400.jar file but how do I get the JasperSoft Studio to see it? Link to comment Share on other sites More sharing options...
marianol Posted December 1, 2015 Share Posted December 1, 2015 On the Data Adapter Dialog (once you select Database JDBC Connection) you can add the driver JAR path in the "Driver Classplath" tab. Or you can add the jar to project classpath in a standard eclipse way, in this way driver will be visible inside your project Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now