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 MS <on...@yahoo.co.in> on 2004/01/19 07:37:33 UTC

Source Installation

My cactus structure
Cactus1.5
build-common.xml
build.properties.sample
documentation
-->
framework
-->
integration
-->ant
samples
-->ejb
-->jetty
-->servlet

Hai,
I am trying to install Cactus 1.5 from the source.
I did what is given in the site.
I am very new to cactus.So i dono how to find the jars provided as a 
required libraries in the link.
so i tried to download few jars thro web&placed then in the ant 
lib(which is installed in my system)
when i did ant -v  i got
 
..
..
init.aspectj:
  [taskdef] Could not load definitions from resource 
org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could not 
be found
...
...
BUILD FAILED
/javastuff/gump/jakarta-cactus/framework/build.xml:228: 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
classpath
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.
My ant/lib has the follwing jars
ant-antlr.jar            commons-collections.jar  jasper-compiler.jar      
libxalan-c.sl.16.0       xml-apis.jar
ant.jar                  commons-httpclient.jar   jasper-runtime.jar       
log4j-20040112.jar       xmlParserAPIs.jar
aspectj-1.1.1.jar        commons-logging.jar      junit.jar                
optional.jar
aspectjrt-1.1.1.jar      httpunit-1.5.3.jar       libxalan-c.sl            
servlet.jar
commons-beanutils.jar    j2ee.jar                 libxalan-c.sl.16         
xercesImpl.jar
Does anyone knw where is went wrong and what should i do.
 
regards
Mar


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.

RE: Source Installation

Posted by MS <on...@yahoo.co.in>.
hai,
yes.i tried for aspectj-tools.jar.i couldn't get the aspectjtools.jar source.so i am using aspectj-1.1.1jar.
-Mar

Vincent Massol <vm...@pivolis.com> wrote:
Hi MS,

I have already answered you in a previous email: you're missing
aspectj-tools.jar in your CP.

-Vincent

> -----Original Message-----
> From: MS [mailto:only4ukutty@yahoo.co.in]
> Sent: 19 January 2004 07:38
> To: cactus-user@jakarta.apache.org
> Subject: Source Installation
> 
> My cactus structure
> Cactus1.5
> build-common.xml
> build.properties.sample
> documentation
> -->
> framework
> -->
> integration
> -->ant
> samples
> -->ejb
> -->jetty
> -->servlet
> 
> Hai,
> I am trying to install Cactus 1.5 from the source.
> I did what is given in the site.
> I am very new to cactus.So i dono how to find the jars provided as a
> required libraries in the link.
> so i tried to download few jars thro web&placed then in the ant
> lib(which is installed in my system)
> when i did ant -v i got
> 
> ..
> ..
> init.aspectj:
> [taskdef] Could not load definitions from resource
> org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could
not
> be found
> ...
> ...
> BUILD FAILED
> /javastuff/gump/jakarta-cactus/framework/build.xml:228: 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 .
> 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
> classpath
> 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.
> My ant/lib has the follwing jars
> ant-antlr.jar commons-collections.jar jasper-compiler.jar
> libxalan-c.sl.16.0 xml-apis.jar
> ant.jar commons-httpclient.jar jasper-runtime.jar
> log4j-20040112.jar xmlParserAPIs.jar
> aspectj-1.1.1.jar commons-logging.jar junit.jar
> optional.jar
> aspectjrt-1.1.1.jar httpunit-1.5.3.jar libxalan-c.sl
> servlet.jar
> commons-beanutils.jar j2ee.jar libxalan-c.sl.16
> xercesImpl.jar
> Does anyone knw where is went wrong and what should i do.
> 
> regards
> Mar
> 
> 
> Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and
> more.Download now.


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.

RE: Source Installation

Posted by Vincent Massol <vm...@pivolis.com>.
What does this have to do with "source installation" (title of this
email)?

If it has nothing to do, please take the time to write an email with a
proper subject. If it has something to do, please accept my apologies
;-)

Thanks
-Vincent

> -----Original Message-----
> From: PUTHENVILA P Johnson [mailto:PJohnson@qtech.com.au]
> Sent: 20 January 2004 03:55
> To: Cactus Users List
> Subject: RE: Source Installation
> 
> Hi I am getting this error when I try to run the cactus sampleTest
through
>  browser. Could some one tell what I have to set to diaply prperly the
XML
> file.
> 
> The XML page cannot be displayed
> Cannot view XML input using XSL style sheet. Please correct the error
and
> then click the Refresh button, or try again later.
> The stylesheet does not contain a document element. The stylesheet may
be
> empty, or it may not be a well-formed XML document.


RE: Source Installation

Posted by PUTHENVILA P Johnson <PJ...@qtech.com.au>.
Hi I am getting this error when I try to run the cactus sampleTest through 
 browser. Could some one tell what I have to set to diaply prperly the XML 
file.

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and 
then click the Refresh button, or try again later. 
The stylesheet does not contain a document element. The stylesheet may be 
empty, or it may not be a well-formed XML document. 

RE: Source Installation

Posted by Vincent Massol <vm...@pivolis.com>.
Hi MS,

I have already answered you in a previous email: you're missing
aspectj-tools.jar in your CP.

-Vincent

> -----Original Message-----
> From: MS [mailto:only4ukutty@yahoo.co.in]
> Sent: 19 January 2004 07:38
> To: cactus-user@jakarta.apache.org
> Subject: Source Installation
> 
> My cactus structure
> Cactus1.5
> build-common.xml
> build.properties.sample
> documentation
> -->
> framework
> -->
> integration
> -->ant
> samples
> -->ejb
> -->jetty
> -->servlet
> 
> Hai,
> I am trying to install Cactus 1.5 from the source.
> I did what is given in the site.
> I am very new to cactus.So i dono how to find the jars provided as a
> required libraries in the link.
> so i tried to download few jars thro web&placed then in the ant
> lib(which is installed in my system)
> when i did ant -v  i got
> 
> ..
> ..
> init.aspectj:
>   [taskdef] Could not load definitions from resource
> org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could
not
> be found
> ...
> ...
> BUILD FAILED
> /javastuff/gump/jakarta-cactus/framework/build.xml:228: 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
> classpath
> 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.
> My ant/lib has the follwing jars
> ant-antlr.jar            commons-collections.jar  jasper-compiler.jar
> libxalan-c.sl.16.0       xml-apis.jar
> ant.jar                  commons-httpclient.jar   jasper-runtime.jar
> log4j-20040112.jar       xmlParserAPIs.jar
> aspectj-1.1.1.jar        commons-logging.jar      junit.jar
> optional.jar
> aspectjrt-1.1.1.jar      httpunit-1.5.3.jar       libxalan-c.sl
> servlet.jar
> commons-beanutils.jar    j2ee.jar                 libxalan-c.sl.16
> xercesImpl.jar
> Does anyone knw where is went wrong and what should i do.
> 
> regards
> Mar
> 
> 
> Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and
> more.Download now.