Hi Jon
Have you defined the mysql driver in your ./project.xml? If not, you need an
entry that looks something like:
...
mm-mysqlmm-mysql2.0.13-binhttp://www.ibiblio.org/maven/mm-mysql/true
...
...
This will get Maven to download the module into your repository and add the
necessary classes to the torque-plugin classpath.
http://www.ibiblio.org/maven/mm-mysql/jars/ shows the various versions for
download.
Hope this helps.
Paul
-----Original Message-----
From:
torque-user-return-5814-paul.osborne=morley-computing.co.uk@db.apache.org
[mailto:torque-user-return-5814-paul.osborne=morley-computing.co.uk@db.apach
e.org] On Behalf Of Jonathan August
Sent: 19 February 2005 08:07
To: torque-user@db.apache.org
Subject: how do I define db driver path?
I'm having a real hard time figuring out how to get torque working.
I'm following the tutorial and I get this error when I run:
maven torque:create-db
BUILD FAILED
File......
/Users/jon/.maven/cache/maven-torque-plugin-3.1.1/plugin.jelly
Element... sql
Line...... 394
Column.... 44
Class Not Found: JDBC driver org.gjt.mm.mysql.Driver could not be loaded
How do I tell maven where my driver is? It's in my classpath...
-Jon
---------------------------------------------------------------------
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