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 unable to run cactifywar on solaris
Date Fri, 17 Oct 2003 18:38:09 GMT
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.addJspRedirector(CactifyWar
Task.java:601)
        at
org.apache.cactus.integration.ant.CactifyWarTask.cactifyWebXml(CactifyWarTas
k.java:662)
        at
org.apache.cactus.integration.ant.CactifyWarTask.execute(CactifyWarTask.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.addJspRedirector(CactifyWar
Task.java:601)
        at
org.apache.cactus.integration.ant.CactifyWarTask.cactifyWebXml(CactifyWarTas
k.java:662)
        at
org.apache.cactus.integration.ant.CactifyWarTask.execute(CactifyWarTask.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)

---
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