Jump to content
Changes to the Jaspersoft community edition download ×

class error - IReport


carolinelando

Recommended Posts

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.OracleDriver
Level:
    SEVERE
Stack 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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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.7

hth + regards

C-Box

Link to comment
Share on other sites

  • 2 weeks later...

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...