No Such Method Exception

If you supply an incorrect number of arguments when calling a Java method, or if you use an incorrect data type, the Java VM responds with a java.lang.NoSuchMethodException error. You should check the number and type of arguments.

For more information, see Accessing fields and methods of the Java object.