Re: driver connection
Posted by: Simon Buehlmann
Date: September 17, 2013 01:41AM

Using the statement Class.forName("com.mysql.jdbc.Driver"); specifies which driver to load. The Problem you have is that when executing the application, it cannot find the driver library. Make sure that the jdbc driver (jar file) is somewhere in your classpath

Options: ReplyQuote


Subject
Written By
Posted
August 31, 2013 12:18AM
Re: driver connection
September 17, 2013 01:41AM
November 14, 2013 01:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.