File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes ClassNotFoundException while using Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "ClassNotFoundException while using Applet" Watch "ClassNotFoundException while using Applet" New topic
Author

ClassNotFoundException while using Applet

L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
Hi All,
I am using JRun 3.1 and trying to use Applet with a JSP file.
In the applet I am using jaxp.jar and crimson.jar classes to work with XML file.
When I compile the applet, it compiles fine without any errors.
But when using the applet in my JSP file it gives following error.
I have updated the default and admin server classpath with the jar files. Also my system classpath environment variable is updated with these jar files.
Here is the details of the error in java console.
java.lang.NoClassDefFoundError: org/w3c/dom/Node
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thanks.
[ August 09, 2002: Message edited by: Lakshmeenarayana Goundalkar ]

<b>L G Goundalkar</b><br /> <a href="mailto:lggoundalkar@yahoo.com" rel="nofollow">lggoundalkar@yahoo.com</a> <br />Sun Certified Programmer for Java 2 Platform.<br />Sun Certified Web Component Developer for J2EE.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ClassNotFoundException while using Applet
 
Similar Threads
How to access DB from Applet?
Cannot find org.apache.commons.javaflow
Problems with Jasper Reports
ClassNotFoundException while using Applet
Applet in JSP