Przykład

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


Rozwiązanie
Usuń modyfikator final z deklaracji metody.

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