I have installed Eclipse Luna recently to do programming on JSP.
Currently i'm trying to connect it with JDBC.
I have downloaded mysql J connector and added mysql-connector-java-5.1.31-bin.jar
to the build path.
I've trying running in on my browser and i get the following error:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
I'm pretty sure that my settings are correct in terms of setting the path. I also have set up the CLASSPATH in environment variables just in case that is the main problem, but still i'm facing the same problem.
Can anyone help me?
CLASSPATH
environment variable is almost never used, you shouldn't try to use it. – Mark Rotteveel Aug 1 at 7:30