Java – NoClassDefFoundError
NoClassDefFoundError: Thrown when the JVM cannot find a class it needs to load.Example: try { Class.forName("com.example.NonExistentClass");} catch (ClassNotFoundException e) { System.out.println("Caught ClassNotFoundException: " + e.getMessage());}