I'm getting
NoSuchMethodError: com.foo.SomeService.doSmth()Z
Am I understanding correctly that this 'Z'
means that return type of doSmth() method is boolean? If true, then that kind of method really does not exist because this method returns some Collection. But on the other hand if I call this method, I'm not assigning it's return value to any variable. I just call this method like this:
service.doSmth();
Any ideas why this error occurs? All necessary jar files exist and all other methods from this class seems to exist..