when this exception come for SQL
java.lang.IncompatibleClassChangeError: Found class com.mysql.jdbc.Statement, but interface was expected
Can you please explain ? does it come due to mysql jar changes to next version ?
If you compile your code wih mysql-connector-java-5.0 and you are using mysql-connector-java-5.1 at time of code execution then you will have this issue.
If you are java developer then you can reproduce this issue easily. In import statement use "import com.mysql.jdbc.Statement" write some jdbc logic,compile your code against "mysql-connector-java-5.0.jar" and at time of class execution use "mysql-connector-java-5.1.jar".
To resolve this issue verify if the version used for compilation and execution is same.
importstatements at the top of the file.