Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClassDefFoundError

 
bujji adapa
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My code works like:
Applet calls servlet for random number where the servlet again calls a randomnumber generator class and responds back to applet with the randomnumber.And atlast the applet draws a graph using that randomnumber.
Everything is working fine,
But ,when i run my applet iam getting java.lang.NoClassDefFoundError.
Can anyone tell me exactly what is going on?

 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Noclassdef found errors mean that your applet can't load a required class. Exactly what class can't it find (should be in the exception text)? How are you loading the applet (from a JAR file or a directory structure)?
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic