Your stack trace compared to the selected pattern
A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with
java -cp yourClassPath or at your IDE if you're using one.
Check the source of this solution for more info