Applet Won't Load

General questions about WebFM

Applet Won't Load

Postby sunmorgus » 22 Jul 2010, 14:45

I added the applet to my page using the same method you have in the example code:

Code: Select all
        <applet name="webfm" code="jmaster.webfm.app.WebFMApplet" archive="webfm_z.jar" width="800"
            height="600">
            <param name="properties" value="
            |httpMessenger.url=~/DirectoryUpload.aspx
        " />
        </applet>


However, when trying to visit the page I get an error. Here is what is in the error log:

Code: Select all
Java Plug-in 1.6.0_20
Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM
User home directory = C:\Users\114511
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


load: class jmaster.webfm.app.WebFMApplet not found.
java.lang.ClassNotFoundException: jmaster.webfm.app.WebFMApplet
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://localhost:49266/jmaster/webfm/app/WebFMApplet.class
   at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   ... 7 more
Exception: java.lang.ClassNotFoundException: jmaster.webfm.app.WebFMApplet


What could I be doing wrong?
sunmorgus
 
Posts: 1
Joined: 22 Jul 2010, 14:28

Return to General questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron