Class not found: org.gjt.mm.mysql.Driver how do i fix this?
843859Mar 20 2009 — edited Mar 20 2009I have written an application that uses a mysql database.
When running the app in Eclipse everything works fine, however when I export it to a standalone Jar, the
application fails on Class not found Error: org.gjt.mm.mysql.Driver.
I have the path to the directory the driver resides in my classpath, aswell as the full path of the mysql-connector-java-3.0.17-ga-bin.jar file too.
I also have the mysql-connector-java-3.0.17-ga-bin.jar file in my java_home/lib/ext folder,
I've tried everything and it just wont find the driver.
Please help.