This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

error in launching the application through the jnlp  RSS feed

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • 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: 42975
76
  • Mark post as helpful
  • send pies
  • 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 ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!