I\'m getting:
NoSuchMethodError: com.foo.SomeService.doSmth()Z
Am I understanding correctly that this \'Z\'
means that return
This is probably a difference between your compile-time classpath and you run-time classpath.
Here is what seems to be going on:
doSmth()
method returning a boolean. The byte-code refers to the doSmth()Z
method.doSmth()Z
method isn't found. A method returning a Collection is found instead.To correct this problem, check your (compile time) classpath.