Win a copy of Fixing your Scrum this week in the Agile forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

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: 43026
76
  • 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 ]
 
That is a really big piece of pie for such a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic