[prev in list] [next in list] [prev in thread] [next in thread]
List: turbine-torque-user
Subject: java.lang.ExceptionInInitializerError
From: "manoj kaushik" <manoj.kaushik () daffodildb ! com>
Date: 2006-09-19 11:57:53
Message-ID: 6c1597c90609190457x5c78c6e8r340830ba8bc5cfa5 () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic