db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chonalal, Anil (Contractor)" <chon...@bp.com>
Subject Could not create task of type: torque-sql due to java.lang.VerifyError
Date Fri, 14 Feb 2003 11:57:36 GMT
Hi, I am just trying to get the steps in tutorial for Torque working, but keep getting the
following error while running the build. The problem seems to be with the sql-template and
om-tamplate target, because if I comment those out then the build is successful. Any idea
what this could be, I have also checked that it is using the right Velocity jar. Any help
would be very much appreciated:

C:\java\torque-3.0>ant -f build-torque.xml
Buildfile: build-torque.xml

main:

check-use-classpath:

check-run-only-on-schema-change:

sql-check:

sql:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Generating SQL for YOUR Torque project!  |
     [echo] | Woo hoo!                                 |
     [echo] |                                          |
     [echo] +------------------------------------------+

sql-classpath:

sql-template:
BUILD FAILED


Total time: 4 seconds

C:\java\torque-3.0\build-torque.xml:216: Could not create task of type: torque-sql due to
java.lang.VerifyError: (class: org/apache/torque/task/TorqueDataModelTask, method: initCon
trolContext signature: ()Lorg/apache/velocity/context/Context;) Incompatible object argument
for function call

Cheers.

Anil


Mime
View raw message