I had this message while using MySQL (JDBC driver 5.1.29) with a Java Web Application:
No suitable driver found for jdbc:mysql://localhost/dbname.
I solved my problem adding Class.forName("com.mysql.jdbc.Driver"); before the connection.
I know since Java 6, Class.forName("com.mysql.jdbc.Driver"); isn't necessary anymore if you're using a recent (JDBC v.4) driver. I can run desktop Java applications without it.
My question is: why I need it with Tomcat 7?