• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in applet notinited

 
seema pal
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There can only be a single "archive" attribute, in which all jar files are listed, separated by commas.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic