Jump to content
Changes to the Jaspersoft community edition download ×

Oracle connection Error

Recommended Posts

By: Henry - hrdik

Oracle connection Error

2003-04-29 09:23



E:Report Developjasperreports-0.4.6-projectdemosamplestest2>ant fill


Buildfile: build.xml



[java] java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:198)

[java] at java.security.AccessController.doPrivileged(Native Method)

[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:186)

[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:299)

[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)


[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:255)

[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)


[java] at java.lang.Class.forName0(Native Method)

[java] at java.lang.Class.forName(Class.java:140)

[java] at TestQuery.getConnection(TestQuery.java:272)

[java] at TestQuery.main(TestQuery.java:147)

[java] Java Result: 1



Total time: 3 seconds


Thank you !





By: Teodor Danciu - teodord

RE: Oracle connection Error

2003-04-29 12:31




The Oracle JDBC driver is missing from you

classpath when you fill the report.


I hope this helps.







By: Henry - hrdik

RE: Oracle connection Error

2003-04-29 23:55

Thx for your reply.


Do you mean I need to add Classes111.zip or Classes12.zip in the classpath in MS windows's environment var ? However, I have added it.

Or I can add the jdbc driver in the .java code ??

Can you help me the detail procedure ??








By: Henry - hrdik

RE: Oracle connection Error

2003-04-30 10:44

I have solved the problem by adding Classes12.zip to Classpath. Thank you !

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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