User Profile
Collapse
-
It is already there. Perhaps it is a problem with the classpath then. What should it be set to? I set it to the directory that the connector .jar file is in (along with the servlet -api and jsp-api .jar files) -
Problem with Tomcat 6.0 / connector/j / jdk1.6 /JDBC
Hello,
I'm trying to write a jsp page that calls a java class, which accesses a MYSQL database, and for some reason i get "java.lang.Clas sNotFoundExcept ion: com.mysql.jdbc. Driver" while trying to establish the connection. I tried putting the connector .jar in the WEB-INF\lib, I tried setting the classpath variable to the connector's location, and nothing seems to fix it. Am I using the wrong class for the driver, or is it something...
No activity results to display
Show More
Leave a comment: