I'm pretty new to glassfish eclipse and and I am having a problem with mysql driver,
When I try and run my servlet i get the following error:
com.mysql.jdbc.Driver No suitable driver found for jdbc:mysql://zenit.senecac.on.ca:3306/ejb605_093a03
on the following code:
try
{
Class.forName("com.mysql.jdbc.Driver");
}
catch (ClassNotFoundException e)
{
out.println(e.getMessage());
}
I have the mysql-connector-java-5.1.7-bin under libraries.
running programs with jdbc from command prompt with javac/java works just fine.
What do I need to include in my glassfish eclipse?
-Greg
[Message sent by forum member 'krilov' (g_krilov_at_hotmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=366262