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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
