| 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: 14491
|
|
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.
|
 |
 |
|
|
subject: class not found error
|
|
|