jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MS <only4uku...@yahoo.co.in>
Subject Help me
Date Wed, 14 Jan 2004 07:23:43 GMT

hai all,

iam trying to install cactus from source.i am not allowed to download the binaries.Now How
can i do that from source.Is it possible to install from source??

Currently i follow the following steps

1.i have all the following jars in a directory under my cactus source directory.

ant-antlr.jar            commons-collections.jar  httpunit-1.5.3.jar       jasper-runtime.jar
aspectjrt-1.1.1.jar      commons-httpclient.jar   j2ee.jar                 junit.jar     
commons-beanutils.jar    commons-logging.jar      jasper-compiler.jar      log4j-20040112.jar

2.i jave the ant/lib in my system with optional.jar file too.

3.i followed as said in 


i got the following error when it type ant -v



file:/disk1/release3/cactus/1.5/Source/jakarta-cactus-src-1.5/framework/build.xml:242: Could
not create task or type of type: iajc.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
 - You have misspelt 'iajc'.
   Fix: check your spelling.
 - The task needs an external JAR file to execute
   and this is not found at the right place in the classpath.
   Fix: check the documentation for dependencies.
   Fix: declare the task.
 - The task is an Ant optional task and optional.jar is absent
   Fix: look for optional.jar in ANT_HOME/lib, download if needed
 - The task was not built into optional.jar as dependent
   libraries were not found at build time.
   Fix: look in the JAR to verify, then rebuild with the needed
   libraries, or download a release version from apache.org
 - The build file was written for a later version of Ant
   Fix: upgrade to at least the latest release version of Ant
 - The task is not an Ant core or optional task
   and needs to be declared using <taskdef>.

Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the

Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
        at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:324)
        at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:240)
        at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:115)
        at org.apache.tools.ant.Task.perform(Task.java:318)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        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: 3 seconds

Now,i want to know where is my mistake.I want to know how to set classpaths for ant/cactus.

I am very new to cactus and Unix

help me


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message