db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jill han" <j...@bynum.com>
Subject failed on db object build
Date Tue, 30 Jan 2007 21:00:20 GMT
I use maven to build db objects. It has always been successful until
today. I am not quite sure what I messed up.
Below is the message
-------------------------------------------------------------------
C:\sourceCode\neo-master\neo>maven torque:om
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

torque:init:

torque:om-check:

torque:om:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:om-generate:
Using contextProperties file:
C:\sourceCode\neo-master\neo\project.properties
    [torque-data-model] Using classpath
log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".
    [torque-data-model] Generating to file
C:\sourceCode\neo-master\neo\src\java
\report.nequalsone.om.generation
2007-01-30 14:33:33,589 [main] INFO
org.apache.torque.engine.database.transform
.XmlToAppData - Parsing file: 'nequalsone-schema.xml'
2007-01-30 14:33:33,750 [main] INFO
org.apache.torque.engine.database.transform
.DTDResolver - Resolver: used
'http://jakarta.apache.org/turbine/dtd/database.dtd'

BUILD FAILED
File...... file:/C:/Documents and
Settings/jhan.BLR/.maven/plugins/maven-torque-plugin-3.2/
Element... torque-data-model
Line...... 228
Column.... 49
Exception thrown by 'generator.parse'. For more information consult the
velocity log, or invoke ant with the -debug flag.
Total time: 6 seconds
Finished at: Tue Jan 30 14:33:34 CST 2007
-----------------------------------------------------

And it is the exception caught  in velocity.log
------------

2007-01-30 13:56:26,973 - ResourceManager : found om/Control.vm with
loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2007-01-30 13:56:26,993 - ResourceManager : found
sql/base/oracle/db.props with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2007-01-30 13:56:27,254 - ResourceManager : found om/Peer.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2007-01-30 13:56:27,264 - Method parse threw exception for reference
$generator in template om/Control.vm at  [41,9]
-----------------------------------

Your kindly help is appreciated as always.

Jill


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