| Author |
Classpath
|
Sebastiaan Kortleven
Ranch Hand
Joined: Mar 12, 2004
Posts: 81
|
|
Hi all, I'm new to WS and would like to deploy an application I'm developing though this technology. When I run the jar file all works just fine, but launching it through web start gives me an classnotexception, although all the necessary jars are being dl'ed.. Here's my JNLP file: And this is what my manifest looks like (of aqt.jar) The resulting error looks like this: The org/apache/commons/collections/SequencedHashMap class is located in lib/commons-collections-2.1.1.jar What am I doing wrong?
|
 |
Somnath Jamdar
Greenhorn
Joined: May 28, 2004
Posts: 22
|
|
Hi I had came across to a very similar problem like u r talking about I resolved it eventually. Here are the possible reason why u r code might not be working 1] Any how make sure that ur required JARs (with the latest version) have downloaded by Java Web Starts before launching the app at client end 2] Be sure u signed all JARs with the same key 3] Try to work-around the prob by placing all JARs in the same directory and in manifest file just give the dot-separated (.) list of JARs so that during execution of the app at client side it will look-for resources into the application dir (current directory) I used JNPL for a integrating Java App to a PHP page where my web application is running Hope this will help u a bit - Somnath
|
Somnath Jamdar<br />SCJP, SCWCD
|
 |
Somnath Jamdar
Greenhorn
Joined: May 28, 2004
Posts: 22
|
|
Try using -i option while creating a jar more details at: http://www-106.ibm.com/developerworks/java/library/j-jar/
|
 |
 |
|
|
subject: Classpath
|
|
|