On Mon, May 19, 2008 at 9:03 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> Okay, I'm not sure how you've set up the project, but I remember that
> you sometimes had to copy the JDBC driver into the tomcat lib directory.
> Haven't touched tomcat in a while, but there are project specific libs
> an
I'm pretty sure putting the jar into Tomcat's container lib dir will fix
his problem.
-Original Message-
From: Eelco Hillenius [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 6:07 PM
To: users@wicket.apache.org
Subject: Re: Problem with Wicket and MySQL
> and i hav
Thanks for the advice, I will try to consolidate my database
programming skills very fast.
BTW, i have managed to solve the problem, by relating the tomcat libs
with the JDBC driver.
Thanks everyone for your time.
On Tue, May 20, 2008 at 4:07 AM, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:
>> and i
> and i have made sure i have this jar
> "mysql-connector-java-5.1.6-bin.jar" to my buid path... but the
> problem goes on...
Build path != runtime path. Make sure the jar is in your runtime path as well.
FWIW, never ever write such code for a production application because
you'll run into scalab
ir
you'll avoid these classloader issues.
-Original Message-
From: Bogdan Mihai [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 6:00 PM
To: users@wicket.apache.org
Subject: Re: Problem with Wicket and MySQL
I am using Eclipse 3.3 with the last version of JDK
On Tue, May 20, 2008
May 19, 2008 5:53 PM
> To: users@wicket.apache.org
> Subject: Re: Problem with Wicket and MySQL
>
> Hello,
>
> this are my imports:
>
> import java.util.ArrayList;
> import java.sql.DriverManager;
> import java.sql.ResultSet;
> import java.sql.SQLExc
Are you running this out of your IDE or with maven?
-Original Message-
From: Bogdan Mihai [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 5:53 PM
To: users@wicket.apache.org
Subject: Re: Problem with Wicket and MySQL
Hello,
this are my imports:
import java.util.ArrayList;
import
Hello,
this are my imports:
import java.util.ArrayList;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Driver;
import com.mysql.jdbc.Statement;
and i have made sure i have this jar
"mysql-connector-
You need to download the MYSQL JDBC driver and put it in your classpath.
That'll fix it.
The code is trying to load the JDBC driver 'by name' - since it's not
there it can't find it.
Michael
-Original Message-
From: Mihai Bogdan Eugen [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008