changing return type of method gives java.lang.NoSuchMethodError - Stack Overflow
In the Java bytecode the return type of a method is part of the method signature, and it differentiates between two methods with the same name and same parameters (this is something that you cannot do in the Java language). So your code which calls this method somehow wasn't recompiled and it still tries to call the method which returns void.
Read full article from changing return type of method gives java.lang.NoSuchMethodError - Stack Overflow
No comments:
Post a Comment