|
|||||||||||
|
werid problem, please help, thanks very much!!!
From: raybristol <raygrrr(at)gmail.com>
Date: Tue Oct 02 2007 - 12:07:15 EDT I am getting a error when I try to get a connection, the werid thing is I can called the getConnection method with no problem from some project but got below erros in other projects:
java.lang.NoSuchMethodError:
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source)
my code is:
Connection conn = null; conn = DriverManager.getConnection(connectionURL, "root", "password");
I don't know why there is anything to do with derby! i am using mysql(I was
using derby before but I changed it) and from the connection string there is
no way the code is calling derby and the code in fact was fine with some
project (I am using eclipse)
-- This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:14:17 EDT |
||||||||||
|
|||||||||||