Hi!
The most common cause for "NoSuchMethodError" in Java is a mixup between code versions. You may have compiled against a different version of the code than you are running against.
The fix is mostly simply to make sure you have the same version that you program against and that you run, and re- compile/package your program.
Greetings,
Stephan