aspose file tools
The moose likes JDBC and the fly likes class not found exception. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "class not found exception. " Watch "class not found exception. " New topic
Author

class not found exception.

Lavanya Balaraman
Greenhorn

Joined: Feb 17, 2009
Posts: 10
hi
i trying to give database connection from java to mysql. I set the class path in environment variables. when i am trying to run the application class not found: com.mysq.jdbc.Driver error is coming


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35237
    
    7
How are you adding the jar file containing the MySQL driver to the classpath? It's apparently not being found.


Android appsImageJ pluginsJava web charts
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
And how are you running the application? That also matters.


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: class not found exception.
 
Similar Threads
jsp.JspException: No collection found
Main class not found
readResolve() method for Singletons
Component Banners
EJBC