• 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

NoClasDefoundException netscape.javascript.JSObject

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an applet which compiles ok. but NoClassDefoundException is thrown
when run with appletviewer. The netscape.javascript.JSObject is in a plugin jar file under lib. it is in the class path.
I have tried different methods try to pindown the problem but no success.
But interesting enough, when I extracted the jar file and put the package in the same directory as the applet and the html file, I got a different run time exception and this time I have no clue at all.
The exception was:

after unjar the plugin and move the pacakage:

Could anyone offer some help, please.
Thanks.
bing
[ April 29, 2004: Message edited by: Bing Yuen ]
[ April 29, 2004: Message edited by: Bing Yuen ]
 
Ben Zung
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, for the second time I ended up answering my question myself.
Actually the Sun answered this in one of its documentation. If you ever
wonderin or be asked the simillar question, redirect to this page:
web page
This has solved my problem flawlessly.
Bing
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this thread to the HTML/Javascript forum.
Please continue this disucssion there. Thank you
 
I just had the craziest dream. This tiny ad was in it.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic