ClassNotFoundException: com.mysql.jdbc.GoogleDriver
Zastanawiam się, w jaki sposób ten błąd jest zgłaszany podczas hostowania mojego projektu w APP ENGINE, dodałem wiele dzienników tylko dla analizy. Kiedy używam com.mysql.jdbc.Driver przy użyciu ip z mojego lokalnego działa. Uprzejma pomoc !!
String name = "Vinodh";
String url = null;
try {
Class.forName("com.mysql.jdbc.GoogleDriver");
url = "jdbc:google:mysql://xxxxxxx:xxxxxx/vinodh?user=root&password=xxxxxx";
// Statements allow to issue SQL queries to the database
log.info("Initiate Connection");
Connection conn = DriverManager.getConnection(url);
log.info("Got Connection");
Statement statement = conn.createStatement();
// Result set get the result of the SQL query
ResultSet resultSet = statement
.executeQuery("select * from Family");
log.info("Entering While");
while(resultSet.next()){
log.info("Entered While");
String test = resultSet.getString("Name");
System.out.println(test);
name = test+test+test;
}