Class NoClassDefFoundError

java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.NoClassDefFoundError
All Implemented Interfaces:
Serializable

public classNoClassDefFoundErrorextendsLinkageError
Thrown if the Java Virtual Machine or aClassLoader instancetries to load in the definition of a class (as part of a normal method callor as part of creating a new instance using thenew expression)and no definition of the class could be found.

The searched-for class definition existed when the currentlyexecuting class was compiled, but the definition can no longer befound.

Since:
1.0
See Also:
  • Constructor Details

    • NoClassDefFoundError

      public NoClassDefFoundError()
      Constructs aNoClassDefFoundError with no detail message.
    • NoClassDefFoundError

      public NoClassDefFoundError(String s)
      Constructs aNoClassDefFoundError with the specifieddetail message.
      Parameters:
      s - the detail message.