connector/j installed properly doesnt work!
Posted by: Adriano Esposito
Date: March 12, 2005 05:50AM

Hi to all, and soon I want to apologize for my english..

the fact is, I have an application usign connector/j. I must continue the developing of this sw on a machine with MSW2kSP3, MySQL 4.1.110 and Eclipse 3.0.1. I installed properly all but the Connector/J,
although I copied the jar into the /lib/ext of my java home it doesnt work.
My connession with forName method and com.mysql.jdbc.Driver argument does not see the class.
I dont know what I mistake..

This the error:

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at CDatabaseOracle.Connetti(CDatabaseOracle.java:34) //(oracle is an old indication, the sw work on mysql)
at CIvecoApp.<init>(CIvecoApp.java:45)
at CIvecoApp.main(CIvecoApp.java:26)

(oracle is an old indication, the sw work on mysql)

Any suggestions will be appreciated..

Greetings from Italy.

Options: ReplyQuote


Subject
Written By
Posted
connector/j installed properly doesnt work!
March 12, 2005 05:50AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.