• 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 launching the application through the jnlp

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sir,
we are try the application through the applet
there is a jar which we run through the applet

there is an error----------------

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)
our code we write for this------------------------
<applet
codebase="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/ScormPlayer"
ARCHIVE="scorm.jar,/lib/jdom.jar,/lib/reload-diva.jar,/lib/reload-dweezil.jar,/lib/reload-jdom.jar,/lib/reload-moonunit.jar,
/lib/reload-support.jar,/lib/xercesImpl.jar,/lib/xml-apis.jar,/lib/ant.jar,/lib/bootstrap.jar,/lib/bsh-core-2.0b1.jar,
/lib/catalina.jar,/lib/commons-beanutils.jar,/lib/commons-collections.jar,/lib/commons-digester.jar,/lib/commons-logging-api.jar,
/lib/jakarta-regexp-1.2.jar,/lib/jasper-compiler.jar,/lib/asper-runtime.jar,/lib/naming-common.jar,/lib/naming-resources.jar,
/lib/servlet.jar,./lib/servlets-common.jar,/lib/servlets-default.jar,/lib/servlets-invoker.jar,./lib/struts.jar,/lib/tomcat-coyote.jar,
/lib/tomcat-http11.jar,/lib/tomcat-util.jar"
code ="uk.ac.reload.scormplayer.client.gui.ScormPlayerFrame"
WIDTH=100 HEIGHT=100>
</applet>
plz give the solution for this ,we urgently require the solution for this
[ February 14, 2006: Message edited by: Ulf Dittmer ]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm completely unclear whether you are talking about an applet, an application, or something JNLP-launched, but this

codebase="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/ScormPlayer"


requires access to the directory mentioned. Does, whoever sees this exception, have it?

Also, the path of the archive files looks strange. Is there really a top-level directory called "/lib" from where everybody can load files? And why do Struts and servlets-common come from "./lib" instead?

You should also investigate what this line: ScormPlayerFrame.java:186 does.

Just curious: Does the code start an embedded Tomcat, or why are you including all those jar files?
[ February 14, 2006: Message edited by: Ulf Dittmer ]
 
pie. tiny ad:
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