db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiaqi guo" <cycl...@alex4all.com>
Subject Torque Maven plugin, failed to execute torque:insert-sql
Date Wed, 22 Oct 2003 04:40:16 GMT
Torque:om, torque:sql, torque:datadtd... works great. Got error message
when executing torque:insert-sql.
-------------------------------------------------------------
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

Our new url ->

BUILD FAILED
File...... file:/C:/Documents and
Settings/joeblack/.maven/plugins/maven-torque-
plugin-3.1/
Element... torque-sql-exec
Line...... 448
Column.... 40
java.sql.SQLException: No suitable Driver for
Total time:  7 seconds

Here's part of project.properties
----------------------------------------------------------
##Torque Settings
torque.project = ${pom.artifactId}
torque.database = mysql
torque.targetPackage = com.cyclops.${torque.project}.om

torque.database.manualCreation = true
torque.database.url = jdbc:mysql://localhost/${torque.project}
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = root
torque.database.password = 
torque.database.host = localhost
torque.runOnlyOnSchemaChange = false
torque.sql.dir = ${maven.src.dir}/sql/${torque.database}
torque.schema.dir = ${maven.src.dir}/conf/schema

##Put these lines here in order to fix the Context bug
##Remove this where this torque bug fixed by apache
torque.basePrefix = Base
torque.addSaveMethod = true
torque.saveException = Exception

torque.contextProperties = project.properties


Is that a whitespace after " No suitable Driver for"? I can't figure out
what happened here.
The version of torque plugin is 3.1.

Regards
Jiaqi
 
g-cyclops@users.sourceforge.net
http://cyclops-group.sourceforge.net


---------------------------------------------------------------------
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