Another user reported a similar problem that may be related. It
looks like a jar for a product Torque uses (Velocity) was
dropped from the dependencies by mistake.
Try this for a quick fix:
Jump ahead to the next section in Step 3 of the tutorial
(Creating the database and tables). Follow that to
create your project.xml file.
Then add the following dependany element in the dependancies
XML section.
<dependency>
<artifactId>logkit</artifactId>
<groupId>logkit</groupId>
<version>1.0.1</version>
<url>http://avalon.apache.org/products/runtime/system/logging/</url>
<properties>
<dist.bundle>true</dist.bundle>
</properties>
</dependency>
This should add the missing jar to the maven classpath and
hopefully fix your maven torque problem.
Alternatively, if you want to use ant, just get the logkit-1.0.1.jar
from the avalon.apache.org site and put it in the generator lib
directory.
Let us know if this fixes it.
> -----Original Message-----
> From: Aljosa Mohorovic [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 06, 2006 7:03 AM
> To: Apache Torque Users List
> Subject: maven torque failed
>
> this is maven-torque tutorial/step 3, when i type maven
> torque i get this errror:
>
> >>>
> C:\Documents and Settings\Administrator\Desktop\test>maven
> torque __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
>
> BUILD FAILED
> File...... C:\Documents and
> Settings\Administrator\.maven\cache\maven-torque-plu
> gin-3.3-RC1\plugin.jelly
> Element... taskdef
> Line...... 115
> Column.... 63
> taskdef class org.apache.torque.task.TorqueDataModelTask
> cannot be found Total time: 2 seconds Finished at: Wed Dec 06
> 12:48:12 CET 2006 <<<
>
> --
> Aljosa Mohorovic
>
> http://www.revolucija.hr
> Ivana Lucica 5
> 10000 Zagreb, Croatia
>
> +385 (0)1 616 8414
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Duke CE Privacy Statement
Please be advised that this e-mail and any files transmitted with it are
confidential communication or may otherwise be privileged or confidential and
are intended solely for the individual or entity to whom they are addressed.
If you are not the intended recipient you may not rely on the contents of this
email or any attachments, and we ask that you please not read, copy or
retransmit this communication, but reply to the sender and destroy the email,
its contents, and all copies thereof immediately. Any unauthorized
dissemination, distribution or copying of this communication is strictly
prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]