Re: NoSuchMethodException com.mysql.jdbc.Driver.<init>
Re: NoSuchMethodException com.mysql.jdbc.Driver.<init>
- Subject: Re: NoSuchMethodException com.mysql.jdbc.Driver.<init>
- From: "Cheong Hee (Gmail)" <email@hidden>
- Date: Mon, 8 Feb 2010 18:09:33 +0800
Hi Andreas
It could be due to wrong url setting in database connection dictionary or
the jar file could not be located. I would check on these setting normally.
Cheers
Cheong Hee
----- Original Message -----
From: "Andreas Thiken" <email@hidden>
To: "webobjects-dev" <email@hidden>
Sent: Monday, February 08, 2010 5:26 PM
Subject: NoSuchMethodException com.mysql.jdbc.Driver.<init>
Hi all,
I'm a newbie on WO trying to learn with David Leber's tutorial
(SooperSeekrit).
But the following error stumps me:
Constructor 'new com.mysql.jdbc.Driver
(com.webobjects.jdbcadaptor.JDBCAdaptor)' does not exist
Trace extract:
[...]
janv. 19 08:32:11 SooperSeekrit[53860] WARN NSLog - A fatal exception
occurred: <com.mysql.jdbc.Driver> Constructor 'new com.mysql.jdbc.Driver
(com.webobjects.jdbcadaptor.JDBCAdaptor)' does not exist, component can
not be instantiated.
[2010-1-19 8:32:11 CET] <main>
com.webobjects.foundation.NSForwardException
[java.lang.NoSuchMethodException]
com.mysql.jdbc.Driver.<init>(com.webobjects.jdbcadaptor.JDBCAdaptor):<com.mysql.jdbc.Driver>
Constructor 'new com.mysql.jdbc.Driver
(com.webobjects.jdbcadaptor.JDBCAdaptor)' does not exist, component can
not be instantiated.
[...]
The complete trace is in the attached file.
I've tried with different versions of java and WO and eclipse. Also with
Frontbase instead of Mysql. Same behaviour.
I've checked my WO+eclipse config (including the classpath) with a
friend's one, and everything seems identical, except that he's on Tiger
and I'm on Linux.
Does anyone have a suggestion?
Thanks,
Andreas
Environment:
Gnu/Linux Debian(testing)
Java 6
Eclipse+WOLips 3.5
WebObject 5.4.3 + Wonder 5.4
Mysql connector 5.1.10
(identical error with Java5, Eclipse/Wolips 3.4, WO 5.3.3, MysqlConnector
5.0.7, Slackware 13)
--------------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden