Compiler Error J0072

'identifier' is not a member of class 'identifier'

The compiler detected a method call, but the method is undefined. This error usually occurs when the method name is either misspelled or cannot be found within the proper scope. This error can also occur when the method does not exist. Ensure that the member you are trying to reference exists in the specified class and compile again.

The following example illustrates this error:

public class Simple {
   
   public static void main(String args[]) {
   
      System.out.printline("Hello");
      // error: 'printline' should be 'println'
   }
}