Hi, all
I have a web application which was working fine previously. But suddenly, it get such errors in the Java Console:
java.lang.ClassNotFoundException: FieldDataApplet.TableApplet.class
at sun.applet.AppletClassLoader.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)
Caused by: 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)
... 10 more
The applet is embedded as this in the JSP page:
<applet
codebase = "http://mydomain.xxx.ca:8080/FieldDataWEB"
code = "FieldDataApplet.TableApplet.class"
...
I check the WEB-INF/class/FieldDataWEB/TableApplet.class, it is there!
I got no clue where to go. Anyone can give me hint? I googled this for quite a while and all they are talking about seem to change the browser setting which doesn't work at all.
I am wondering if I should place a relative path in the "codebase" to the JSP file which embedding the applet instead of using the "http://..."? But I could not see why it was working previously!
Help please!