aspose file tools*
The moose likes Applets and the fly likes class not found error 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 » Java » Applets
Bookmark "class not found error " Watch "class not found error " New topic
Author

class not found error

ravi janap
Ranch Hand

Joined: Nov 04, 2000
Posts: 389
Hi
I am trying to deploy an applet from JSP. However I am getting class not found error.
I have copied the JSP into defaultwebapp directory of weblogic and the applet and its helper classes into web-inf/classes.
load: class CatalogMembershipApplet not found.
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(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)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(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)
My JSP code is as follows.
<jsp lugin type="applet" code="CatalogMembershipApplet"
codebase="/classes/" height="800" width="500"
jreversion="1.1"
nspluginurl="http://java.sun.com/products/plugin/1.1.3/plugin-install.html"
iepluginurl="http://java.sun.com/products/plugin/1.1.3/jinstall-113-win32.cab#Version=1,1,3,0" >
<params>
<param name="weblogic_url" value="t3://localhost:7001">
<param name="poolname" value="demoPool">
</params>
<fallback>
<font color=#FF0000>Sorry, cannot run java applet!!</font>
</fallback>
</jsp lugin>
Any solution ?
-- Ravindra


SCJP, SCJD, SCWCD, SCBCD, SCEA
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15629
    
  15

It appears the class isn't found because the system isn't able to open a network connection through which to download it.
More than that I can't say - at least without doing more research that I want to do if nobody's paying me for it - but I do have my doubts about that reference to the WebLogic port (7001) down at the bottom.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: class not found error
 
Similar Threads
Error in loading Applet from JSP
Problem running an applet
connection problem
JSP Plugin for Applet
Problem loading applet from servlet - load: xxx.class not found