Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / July 2003

Tip: Looking for answers? Try searching our database.

jdbc-oracle-applet problem

Thread view: 
Tommy Gun - 30 Jul 2003 16:54 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.