jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <Mark.Lybar...@CBC-Companies.com>
Subject RE: unable to run cactifywar on solaris
Date Mon, 20 Oct 2003 14:47:00 GMT
That did the trick, thanks. I had 1.5 ant. I guess I didn't think there was
much difference in the 1.5 versions to matter.

> -----Original Message-----
> From: Christopher Lenz [mailto:cmlenz@gmx.de]
> Sent: Sunday, October 19, 2003 5:14 PM
> To: Cactus Users List
> Subject: Re: unable to run cactifywar on solaris
> 
> 
> Hi Mark,
> 
> you'll need Ant 1.5.1 or higher to use the Cactus tasks 
> (which is stated 
> in the docs IIRC). I think the problem you're reporting here 
> is caused 
> by using an earlier version of Ant.
> 
> -chris
> 
> Mark Lybarger wrote:
> > I'm migrating my testing from win2k to solaris.  I'm trying 
> to create an
> > empty cactified war file, but the task is throwing this 
> exception.  Any
> > suggestions/ideas?  I saw one message in the list archives 
> about this, but
> > no solution.  The taskdef goes ok, it's during execution of 
> the task that
> > this happens. something is probably not in the classpath 
> correctly, but..
> > what?
> > 
> > Here's how I define the tasks:
> >   <path id="cactus.classpath">
> >     <pathelement 
> location="${basedir.source.web-inf.lib}/cactus.jar" />
> >     <pathelement 
> location="${basedir.source.web-inf.lib}/cactus-ant.jar" />
> >     <pathelement
> > location="${basedir.source.web-inf.lib}/commons-httpclient.jar" />
> >     <pathelement
> > location="${basedir.source.web-inf.lib}/commons-logging.jar" />
> >     <pathelement 
> location="${basedir.source.web-inf.lib}/aspectjrt.jar" />
> > 
> >   </path>
> >   <taskdef resource="cactus.tasks" 
> classpathref="cactus.classpath" />
> > 
> > And here's my error message:
> >   
> > BUILD FAILED
> > java.lang.NoSuchMethodError
> >         at
> > 
> org.apache.cactus.integration.ant.CactifyWarTask.addJspRedirec
> tor(CactifyWar
> > Task.java:601)
> >         at
> > 
> org.apache.cactus.integration.ant.CactifyWarTask.cactifyWebXml
> (CactifyWarTas
> > k.java:662)
> >         at
> > 
> org.apache.cactus.integration.ant.CactifyWarTask.execute(Cacti
> fyWarTask.java
> > :421)
> >         at org.apache.tools.ant.Task.perform(Task.java:317)
> >         at org.apache.tools.ant.Target.execute(Target.java:309)
> >         at org.apache.tools.ant.Target.performTasks(Target.java:334)
> >         at 
> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> >         at 
> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:610)
> >         at org.apache.tools.ant.Main.start(Main.java:196)
> >         at org.apache.tools.ant.Main.main(Main.java:235)
> > 
> > Total time: 2 seconds
> > java.lang.NoSuchMethodError
> >         at
> > 
> org.apache.cactus.integration.ant.CactifyWarTask.addJspRedirec
> tor(CactifyWar
> > Task.java:601)
> >         at
> > 
> org.apache.cactus.integration.ant.CactifyWarTask.cactifyWebXml
> (CactifyWarTas
> > k.java:662)
> >         at
> > 
> org.apache.cactus.integration.ant.CactifyWarTask.execute(Cacti
> fyWarTask.java
> > :421)
> >         at org.apache.tools.ant.Task.perform(Task.java:317)
> >         at org.apache.tools.ant.Target.execute(Target.java:309)
> >         at org.apache.tools.ant.Target.performTasks(Target.java:334)
> >         at 
> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> >         at 
> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:610)
> >         at org.apache.tools.ant.Main.start(Main.java:196)
> >         at org.apache.tools.ant.Main.main(Main.java:235)
> 
> -- 
> Christopher Lenz
> /=/ cmlenz at gmx.de
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
 


Mime
View raw message