You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Vincent Massol <vm...@pivolis.com> on 2005/03/04 12:53:13 UTC

RE: CactifyWarTask

Hi Paul,

That's strange. I have no idea, everything looks ok... Do you have the same
problem running the Servlet sample provided with the Cactus distribution?
(just to try to narrow the pb).

Thanks
-Vincent

> -----Original Message-----
> From: Paul Williams [mailto:williamspl@btinternet.com]
> Sent: lundi 21 février 2005 20:49
> To: cactus-user@jakarta.apache.org
> Subject: CactifyWarTask
> 
> I've just upgraded to using Cactus 1.7, so that I can use it against JDK
> 1.5, but I'm getting an error indicating that there might be a classpath
> problem but my classpath was working fine before.  I've copied all the
> jars from Cactus into the lib directory of my project to make sure I'm
> using the latest jars rather than relying on symlinks.
> 
> This is the snippet from my build.xml thats causing the problem:
> 
> ------------------------------------------------------------------------
> <taskdef resource="cactus.tasks">
> <classpath>
> <pathelement location="${lib}/aspectjrt-1.2.1.jar"/>
> <pathelement location="${lib}/cactus-1.7.jar"/>
> <pathelement location="${lib}/cactus-ant-1.7.jar"/>
> <pathelement location="${lib}/commons-logging-1.0.4.jar"/>
> </classpath>
> </taskdef>
> problem:
> ------------------------------------------------------------------------
> 
> My lib directory contains all of the above jars (plus extras).  This is
> the error I'm getting:
> 
> ------------------------------------------------------------------------
> Class org.apache.cactus.integration.ant.CactifyWarTask loaded from
> parent loader (parentFirst)
> 
> BUILD FAILED
> /development/pofm/defectReporting/src/test/ejb/entity/build.xml:32:
> taskdef A class needed by class
> org.apache.cactus.integration.ant.CactifyWarTask cannot be found:
> org/apache/commons/logging/Log

[snip]