Home arrow static arrow Java Programming [Archive] - java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
This topic has 1 reply on 1 page.

Posts:3
Registered: 2/18/02
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver  
Jul 27, 2004 4:31 AM



 
I am trying run a signed applet and I am getting this
error,
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

I am using oracle 9i and Tomcat 5.025 on Redhat Linux. I
have included the classes12.jar in my system classpath
as well as in the tomcat setclasspath.sh file in the
bin directory, but nothing works.
# Set standard CLASSPATH
CLASSPATH="$JAVA_HOME"/lib/tools.jar:/usr/local/oracle/jdbc/lib/classes12.jar:.

My applet works
alright when I run it using an appletviewer. I was wondering if you have any
suggestions for me? Here is my html file

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>get stuff</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<APPLET CODE = "xxy.class"
CODEBASE = "http://194.xxx.yyy.xy/sms"
ARCHIVE = "smsApplet.jar"
WIDTH = "900" HEIGHT = "800">
<PARAM NAME = CODE VALUE ="xxy.class" >
<PARAM NAME = CODEBASE VALUE = "http://194.xxx.yyy.xy/sms" >
<PARAM NAME = ARCHIVE VALUE = "smsApplet.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
<PARAM NAME="scriptable" VALUE="false">
</APPLET>

<body>
</body>
</html>
I am trying run a signed applet and I am getting this
error,
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

I am using oracle 9i and Tomcat 5.025 on Redhat Linux. I
have included the classes12.jar in my system classpath
as well as in the tomcat setclasspath.sh file in the
bin directory, but nothing works.
# Set standard CLASSPATH
CLASSPATH="$JAVA_HOME"/lib/tools.jar:/usr/local/oracle/jdbc/lib/classes12.jar:.

My applet works
alright when I run it using an appletviewer. I was wondering if you have any
suggestions for me? Here is my html file

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>get stuff</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<APPLET CODE = "xxy.class"
CODEBASE = "http://194.xxx.yyy.xy/sms"
ARCHIVE = "smsApplet.jar"
WIDTH = "900" HEIGHT = "800">
<PARAM NAME = CODE VALUE ="xxy.class" >
<PARAM NAME = CODEBASE VALUE = "http://194.xxx.yyy.xy/sms" >
<PARAM NAME = ARCHIVE VALUE = "smsApplet.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
<PARAM NAME="scriptable" VALUE="false">
</APPLET>

<body>
</body>
</html>

 

Posts:3,081
Registered: 2/15/99
Re: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver  
Jul 27, 2004 4:47 AM (reply 1 of 1)



 
Please don't cross post.

http://forum.java.sun.com/thread.jsp?thread=541572&forum=57&message=2625798
http://forum.java.sun.com/thread.jsp?thread=541573&forum=48&message=2625800
http://forum.java.sun.com/thread.jsp?thread=541574&forum=31&message=2625802
 
This topic has 1 reply on 1 page.