Beispiel

public class ClassA {
static final void testMethod () {
}
}


Lösung
Entfernen Sie die Angabe 'final' aus der Methodendeklaration.

public class ClassA {
static void testMethod () {
}
}