mysql connection problem

I am getting following exception when tried to connect to mysql via ISC Admin Console.

Failure: Unable to connect. Error from Driver:
java.lang.ClassCastException: com.mysql.jdbc.Driver

I have already put "mysql-connector-java-5.0.8-bin.jar " under WEB-INF/lib/ folder.

I am using
> SmartClient_651_Evaluation
> jdk1.5.0_14
> MySQL - 5.0.45

Can anybody please help me to sort out this issue?