db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manoj kaushik" <manoj.kaus...@daffodildb.com>
Subject java.lang.ExceptionInInitializerError
Date Tue, 19 Sep 2006 11:57:43 GMT
hi all
i am trying to export database from one MySql instance to another. but when
i give the goal torque:jdbc it gives the
java.lang.ExceptionInInitializerError as shown below
C:\dev\torque>maven torque:jdbc
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

torque:init:

torque:jdbc:
    [torque-jdbc-transform] Torque - JDBCToXMLSchema starting
    [torque-jdbc-transform] Your DB settings are:
    [torque-jdbc-transform] driver : com.mysql.jdbc.Driver
    [torque-jdbc-transform] URL : jdbc:mysql://localhost:3306/bookstore
    [torque-jdbc-transform] user : root
    [torque-jdbc-transform] schema : ROOT
    [torque-jdbc-transform] DB driver sucessfuly instantiated
    [torque-jdbc-transform] DB connection established
    [torque-jdbc-transform] Getting table list...

BUILD FAILED
File...... C:\Documents and Settings\Administrator\.maven\cache\maven-
torque-plugin-3.1.1\plugin.jelly
Element... torque-jdbc-transform
Line...... 449
Column.... 7
java.lang.ExceptionInInitializerError
Total time: 6 seconds
Finished at: Tue Sep 19 17:23:20 GMT+05:30 2006

my project.properties file is configured as:
# -------------------------------------------------------------------
#
#  T O R Q U E   S E T T I N G S
#
# -------------------------------------------------------------------

torque.project = bookstore
torque.database = MySql
torque.targetPackage = com.daffodilwood.export
torque.database.default.adapter=mysql
torque.database.createUrl = jdbc:mysql://localhost:3306/mysql
torque.database.buildUrl = jdbc:mysql://localhost:3306/bookstore
torque.database.url = jdbc:mysql://localhost:3306/bookstore
DatabaseName=northwindnew
torque.database.driver = com.mysql.jdbc.Driver
torque.database.user =root
torque.database.password =
torque.database.host = localhost:3306
torque.database.schema = ROOT
torque.useClasspath=false
torque.database.manualCreation=false
torque.addGetByNameMethod=true
torque.useClasspath=true




plz tell me what i am missing
thanks in advance
Manoj Kaushik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message