It's not a secret anymore!*
The moose likes Applets and the fly likes Applet laoding issue: class not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet laoding issue: class not found" Watch "Applet laoding issue: class not found" New topic
Author

Applet laoding issue: class not found

Rakesh Kumar
Ranch Hand

Joined: May 30, 2006
Posts: 63
Dear friends,
I am doing a project where i am loading an applet and i am getting error like below.

load: class EventMonitoring.class not found.
java.lang.ClassNotFoundException: EventMonitoring.class
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:https://107.108.204.27/Applet/event/EventMonitoring/class.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: EventMonitoring.class


What is the solution .Please share your idea .It is urgent.

thanks
rak
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
Post the directory structure that you have on the server and also the complete APPLET tag.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet laoding issue: class not found
 
Similar Threads
class file in jar works when invoked on local machine, but gets "class not found" when run from web
Applet throwing exception when running it through web browser
Calling an applet in a JSP page
Cannot load applet
JApplet - works on windows not on Linux