• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ClassNotFound Exception..

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi...
I am trying to run a jnlp application...

i have demotest.jnlp file

contents of jnlp fils are
<?xml version="1.0" encoding="ISO-8859-1"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/jwsdemo"
href="demotest.jnlp">
<information>
<title>Demo Test</title>
<vendor>Green</vendor>
<description>Demo client by Green</description>
</information>
<resources>
<j2se version="1.3+" />
<jar href="test.jar" main="true" />
</resources>
<application-desc main-class="com.test" />
</jnlp>

*****
my test class is located in com package.

and test.jar is in webcontent of eclipse ...
i am getting exception ClassNotFound..
what' is the problem.. please help.....
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
for which class are you getting this error?

if it's some 3rd party class or java class (i.e. anything other than your own class), you might want to make sure you have all the required jars in the classpath... (I know really generic answer, but can't make it out unless I know for what class are you getting this error).

You might also want to check out this online tool to find out what jar is missing:
http://www.ellipsissolutions.com/xray.php
 
Nilu Deshmukh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks ... Error Solved .. The Class path was wrong in JNLP file.
reply
    Bookmark Topic Watch Topic
  • New Topic