You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Mark Bram <re...@optusnet.com.au> on 2005/03/19 12:01:58 UTC

java.lang.NoClassDefFoundError: org/apache/tools/ant/types/RedirectorElement

Hi All!

I have just installed Tomcat 5.5 on Windows XP Pro with apache-ant-1.6.1.

I have placed the catalina-ant.jar in in apache-ant-1.6.1's lib dir and am 
attempting to install my first app.

I am using the basic build.xml file from the local Application Developer's 
Guide and am seeing the following error when I attempt to
install on the command line:

F:\cml\website>ant -version
Apache Ant version 1.6.1 compiled on February 12 2004
F:\cml\website>ant install
Buildfile: build.xml

prepare:

compile:

install:

BUILD FAILED
java.lang.NoClassDefFoundError: 
org/apache/tools/ant/types/RedirectorElement

Total time: 6 seconds
F:\cml\website>


I got exactly the same result when I moved the "website" dir to 
"C:\temp\website" as well.

Any advice would be most appreciated!

Rob
:)

-- 
Robert Mark Bram
http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp
B.Comp.(Systems Development/Business Systems)
B.Net.Comp.(Hons)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199
AUSTRALIA


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


Re: java.lang.NoClassDefFoundError: org/apache/tools/ant/types/RedirectorElement

Posted by Robert Mark Bram <re...@optusnet.com.au>.
Found the answer to this one.

I needed Ant 1.6.2..

Rob
:)

On Sat, 19 Mar 2005 22:01:58 +1100, Robert Mark Bram 
<re...@optusnet.com.au> wrote:

> Hi All!
>
> I have just installed Tomcat 5.5 on Windows XP Pro with apache-ant-1.6.1.
>
> I have placed the catalina-ant.jar in in apache-ant-1.6.1's lib dir and 
> am attempting to install my first app.
>
> I am using the basic build.xml file from the local Application 
> Developer's Guide and am seeing the following error when I attempt to
> install on the command line:
>
> F:\cml\website>ant -version
> Apache Ant version 1.6.1 compiled on February 12 2004
> F:\cml\website>ant install
> Buildfile: build.xml
>
> prepare:
>
> compile:
>
> install:
>
> BUILD FAILED
> java.lang.NoClassDefFoundError: 
> org/apache/tools/ant/types/RedirectorElement
>
> Total time: 6 seconds
> F:\cml\website>
>
>
> I got exactly the same result when I moved the "website" dir to 
> "C:\temp\website" as well.
>
> Any advice would be most appreciated!
>
> Rob
> :)
>



-- 
Robert Mark Bram
http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp
B.Comp.(Systems Development/Business Systems)
B.Net.Comp.(Hons)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199
AUSTRALIA


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