I have big trouble during porting a database from:
WinNT + Oracle7.3
To:
Win2000 + Oracle 9.2.0.1
In the first my applet does work fine, but in the second, after a succesful
compile, it generate a runtime error like this:
Error loading class: oracle.jdbc.OracleDriver
java.lang.NoClassDefFoundError
Error loading class: oracle.jdbc.OracleDriver
java.lang.NoClassDefFoundError
Intercettata eccezione (on Logon - IntervApplet): oracle.jdbc.OracleDriver
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at interventi/IntervApplet.button1_actionPerformed
at interventi/IntervApplet$1.actionPerformed
at java/awt/Button.processActionEvent
at java/awt/Button.processEvent
at java/awt/Component.dispatchEventImpl
at java/awt/Component.dispatchEvent
at java/awt/EventDispatchThread.run
I changed jdk version to the 1.4, a suitable oracle driver (downloaded from
oracle site).
The variable "CLASSPATH" on server is set correctly (in fact, other
application using jdbc, they work fine).
I've included also the oracle driver archive (zipped) in the file html,
together my classes project...i tried more and more....but nothing!
please HELP!!!!!
Richard Graham - 30 Jul 2003 17:45 GMT
Tommy,
From oracle 9.0.1 "oracle.jdbc.driver" is deprecated and
its contents move to "oracle.jdbc".
You will need to change the import statements in your Java sources and
recompile.
Richard Graham
> I have big trouble during porting a database from:
>
[quoted text clipped - 11 lines]
> Error loading class: oracle.jdbc.OracleDriver
> java.lang.NoClassDefFoundError
-------------------------------------------------------------------------------
Remove FRUITBAT for a valid Email address..
Orinda Software make "OrindaBuild", which generates Java JDBC access
code for calling PL/SQL procedures. www.orindasoft.com