You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by "joseagonzalezt@cantv.net" <jo...@cantv.net> on 2005/01/24 19:49:20 UTC

Class Not Found: JDBC driver could not be loaded

Hi,

I am trying the Turbine-Torque but I just can not get it to work. I have
followed the 
example (bookstore) but I am receiving an error message when maven
torque:create-db :

BUILD FAILED
File...... C:\Documents and
Settings\JOSE\.maven\cache\maven-torque-plugin-3.1.1\plugin.jelly
Element... sql
Line...... 394
Column.... 44
Class Not Found: JDBC driver  could not be loaded
Total time: 1 minutes 6 seconds
Finished at: Mon Jan 24 14:13:00 VET 2005

..............
Torque Settings
torque.database =            mysql
torque.database.driver = org.gjt.mm.mysql.Driver    
torque.database.user =adminuser
torque.database.password =adminpassword
torque.database.buildUrl =jdbc:mysql://localhost/bookstore
torque.database.createUrl =jdbc:mysql://localhost/bookstore

..................



Thanks,





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


Re: Class Not Found: JDBC driver could not be loaded

Posted by Stefan Clos <ma...@gmx.net>.
I use
torque.database.createUrl = jdbc:mysql://127.0.0.1/mysql

maybe this solves your problem


joseagonzalezt@cantv.net schrieb:

>Hi,
>
>I am trying the Turbine-Torque but I just can not get it to work. I have
>followed the 
>example (bookstore) but I am receiving an error message when maven
>torque:create-db :
>
>BUILD FAILED
>File...... C:\Documents and
>Settings\JOSE\.maven\cache\maven-torque-plugin-3.1.1\plugin.jelly
>Element... sql
>Line...... 394
>Column.... 44
>Class Not Found: JDBC driver  could not be loaded
>Total time: 1 minutes 6 seconds
>Finished at: Mon Jan 24 14:13:00 VET 2005
>
>..............
>Torque Settings
>torque.database =            mysql
>torque.database.driver = org.gjt.mm.mysql.Driver    
>torque.database.user =adminuser
>torque.database.password =adminpassword
>torque.database.buildUrl =jdbc:mysql://localhost/bookstore
>torque.database.createUrl =jdbc:mysql://localhost/bookstore
>
>..................
>
>
>
>Thanks,
>
>
>
>
>
>---------------------------------------------------------------------
>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