aspose file tools*
The moose likes Applets and the fly likes error in applet notinited Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "error in applet notinited" Watch "error in applet notinited" New topic
Author

error in applet notinited

seema pal
Ranch Hand

Joined: Nov 17, 2005
Posts: 39
hi sir
i m running my application through the applet i.e run in browser(scormplayer.html).this only open the main window and occour the error
is applet notinited(main class ).
the file is..............
<applet
codebase="file:///home/guest/seema/ScormPlayer"
ARCHIVE="./scorm.jar"
ARCHIVE="./lib/jdom.jar"
ARCHIVE="./lib/reload-diva.jar"
ARCHIVE="./lib/reload-dweezil.jar"
ARCHIVE="./lib/reload-jdom.jar"
ARCHIVE="./lib/reload-moonunit.jar"
ARCHIVE="./lib/reload-support.jar"
ARCHIVE="./lib/xercesImpl.jar"
ARCHIVE="./lib/xml-apis.jar"
ARCHIVE="./lib/ant.jar"
ARCHIVE="./lib/bootstrap.jar"
ARCHIVE="./lib/bsh-core-2.0b1.jar"
ARCHIVE="./lib/catalina.jar"
ARCHIVE="./lib/commons-beanutils.jar"
ARCHIVE="./lib/commons-collections.jar"
ARCHIVE="./lib/commons-digester.jar"
ARCHIVE="./lib/commons-logging-api.jar"
ARCHIVE="./lib/jakarta-regexp-1.2.jar"
ARCHIVE="./lib/ jasper-compiler.jar"
ARCHIVE="./lib/asper-runtime.jar"
ARCHIVE="./lib/ naming-common.jar"
ARCHIVE="./lib/ naming-resources.jar"
ARCHIVE="./lib/servlet.jar"
ARCHIVE="./lib/servlets-common.jar"
ARCHIVE="./lib/servlets-default.jar"
ARCHIVE="./lib/servlets-invoker.jar"
ARCHIVE="./lib/struts.jar"
ARCHIVE="./lib/tomcat-coyote.jar"
ARCHIVE="./lib/tomcat-http11.jar"
ARCHIVE="./lib/tomcat-util.jar"
code ="uk.ac.reload.scormplayer.client.gui.ScormPlayerFrame"
WIDTH=100 HEIGHT=100>
</applet>
and java console error is.......
java.lang.NoClassDefFoundError at uk.ac.reload.scormplayer.client.gui.ScormPlayerFrame.<init>(ScormPlayerFrame.java:186)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(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)
and main file is given below..................
-------------------------------------------------
plz give appropiate solution.
by
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42931
    
  68
There can only be a single "archive" attribute, in which all jar files are listed, separated by commas.
 
 
subject: error in applet notinited