jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Williams <william...@btinternet.com>
Subject RE: CactifyWarTask
Date Fri, 04 Mar 2005 17:46:08 GMT
Vincent,

Thanks for the reply.  I was getting the same problem with the Cactus
sample.  I eventually solved it by ensuring that Cactus was earlier in
my classpath than J2SE/J2EE.

On Fri, 2005-03-04 at 12:53 +0100, Vincent Massol wrote:
> 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]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 


Mime
View raw message