• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

error in applet notinited

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There can only be a single "archive" attribute, in which all jar files are listed, separated by commas.
 
I don't like that guy. The tiny ad agrees with me.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic