Exception in Thread main

After compiling the programming under DOS-prompt,getting the "Exception in Thread main:java.lang.NoClassDefFoundError",please explain the reason behind this error?The program is not running after getting this Error.

shaveri, setting the correct classpath has been stated by many experts. what made u propose an answer? please post a comment & let the person who asked the question decide for himself/herself which is a suitable answer.

Regarding my question ,the problem is
still there,Igot over that problem last
week.Now recurring ,the same.the question no.is 10246200-2290141.Thankful to all who answered this Qn.I will add 60 pts.if i get
correct answer.

Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as
part of creating a new instance using the new expression) and no definition of the class could be found.

The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…

Viewers will learn about the different types of variables in Java and how to declare them.
Decide the type of variable desired:
Put the keyword corresponding to the type of variable in front of the variable name:
Use the equal sign to assign a v…