What does NoClassDefFound mean?

NoClassDefFound means "No Class Definition Found".

NoClassDefFound is an error from the JVM when it cannot find a class required to run a Java program.

This error could be caused by an actual missing class, but it is usually caused by a faulty CLASSPATH.

This error also sometimes occurs when Java users add the unnecessary .class extension to the end of their command lines:

C:\>java HelloWorld.class
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class

C:\>java HelloWorld
Hello World!




Top 5 Free Networking Tools

Bookmark What does NoClassDefFound mean?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.