ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: problem using ant with win2000 and Jdk 1.4
Date Mon, 24 Mar 2003 10:50:14 GMT
Because I don´t know why the command "ant" should search for "Tomcat"...

Maybe something is wrong with your path variable. Is on that path a script
named "ant"?

Try invoking Ant by absolute filename
	E:\apache-ant-1.5.2\bin\ant.bat -version

What happens with absolute path?


Jan Matèrne

> -----Ursprüngliche Nachricht-----
> Von: Rajat [mailto:rajat.mishra@cellnext.com]
> Gesendet am: Montag, 24. März 2003 11:33
> An: user@ant.apache.org
> Betreff: problem using ant with win2000 and Jdk 1.4
> 
> Hi,
> 	I have downloaded and installed ant and set the required
> 	environment variables like ANT_HOME etc. But When I am 
> 	running any ant command like "ant -version", I am getting the
> 	error " Exception in thread "main" 
> java.lang.NoClassDefFoundError: Tomcat"
> 	The details of my system are 
> 	Windows 2000 Professional ( Shell : cmd.exe)
> 	J2SDK1.4.0_03
> 	ANT_HOME=E:\apache-ant-1.5.2
> 	JAVA_HOME=F:\j2sdk1.4.0_03
> 
> 	Please tell me what I can do to solve this??
> 
> 	Regards,
> 	Rajat
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message