db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reed Kelly" <r...@pobox.com>
Subject RE: Class Not Found: JDBC driver com.mysql.jdbc.Driver could not be loaded
Date Mon, 08 Nov 2004 03:30:17 GMT
Thanks for the response.

I just found something that worked. I put the mysql jar in ...\Maven
1.0\lib\endorsed and Torque created the database, the tables and everything.

Being new to Torque, I tried to go through the process with Maven, but I
have had experience with Ant from before. Should I try to get Torque to work
with Ant, or should I stick with Maven now that I've gotten it to work?

-----Original Message-----
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: Sunday, November 07, 2004 6:31 PM
To: Apache Torque Users List
Subject: Re: Class Not Found: JDBC driver com.mysql.jdbc.Driver could
not be loaded


Try adding it as a dependency in your project.xml file.

Scott

--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au


Reed Kelly wrote:

>I have put my mysql-connector-java-3.1.2-alpha-bin.jar in the \torque\lib
>directory, but I still get this error.
>
>When I enter:
>
>maven torque
>
>I get no errors, but when I enter:
>
>maven torque:create-db
>
>I get the
>
>BUILD FAILED
>File...... ........plugin.jelly
>Element... sql
>Line...... 394
>Column.... 44
>Class Not Found: JDBC driver com.mysql.jdbc.Driver could not be loaded
>Total time....
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message