carolinelando Posted June 17, 2019 Share Posted June 17, 2019 Good morning,I've come across an error and I can't resolve it, the message is: Exception Message: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriverLevel: SEVEREStack Trace:oracle.jdbc.driver.OracleDriver com.jaspersoft.ireport.designer.connection.JDBCConnection.loadDriver(JDBCConnection.java:63) com.jaspersoft.ireport.designer.connection.JDBCConnection.getConnection(JDBCConnection.java:126) com.jaspersoft.ireport.designer.data.fieldsproviders.SQLFieldsProvider.getFields(SQLFieldsProvider.java:240) com.jaspersoft.ireport.designer.data.ReportQueryDialog$FieldReader.run(ReportQueryDialog.java:777) Link to comment Share on other sites More sharing options...
C-Box Posted June 18, 2019 Share Posted June 18, 2019 When I remember right, the JDBC drivers included in old iReport were just the free licenced (e.g. LGPL) ones. Not sure, what oracle licenced it's JDBC driver but I guess, you must include the jar to classpath (via options menu) manually. Be aware with "modern" driver versions, as iReport is actually (kind of) "deprecated" and is just running with Java7.A new JDBC driver by oracle could be compiled with newer java versions (>= 1.8) and will throw exceptions when used.So you will need to copy a "old" driver compiled with JRE <= 1.7hth + regardsC-Box Link to comment Share on other sites More sharing options...
Selva_ms7 Posted June 26, 2019 Share Posted June 26, 2019 that is because you needed to include oracle jar to classpath of the driver 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