November 10th, 2001, 04:11 PM
ClassNotFound ... please help
Hi, I'm trying to install jdbc driver for Mysql, but I get this error:
java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver ....
my etc/profile is:
what shall I do??
Plesa help me!
November 12th, 2001, 02:08 PM
What JSP/servlet container are you using?
The container usually won't share the same classpath as you.
If you are using Tomcat, you can just throw a copy of the the .jar into $TOMCAT_HOME/lib and restart Tomcat.
November 12th, 2001, 04:13 PM
November 12th, 2001, 05:53 PM
The puzzle is solved when you understand what classpath is explicit and implicit with the environment you are running on.
For general JDBC, you can't beat java.sun.com for tutorials and javaranch.com for people to pester.