Most likely the jar versions are mismatched resulting in some dependency issues. I used your code with the following jars and had success:
posted 4 years ago
Thank you so much....
I was aware its because of Jar versions & tried with different version, but still was finding it to difficult to resolve the issue, which is not the case most of the times...