connecting mysql from eclipse
I am using;
eclipse wtp 3.2
mysql 5.0
mysql-connector-java-3.1.13
I added the connectorj to classpath and I can connect mysql from command line, but I can't connect from eclipse. there is only one thing to do; to add the driver to library within eclipse. I did it, I added as an external archieve file to the project but surprisingly it didn't work.
the only java code in jsp:
Class.forName("com.mysql.jdbc.Driver").newInstance();
and the error:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
would it be about a problem between eclipse and the version of mysql