ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Viatla <Vijay.Via...@lfs.co.uk>
Subject RE: NoClassDefFoundError
Date Mon, 10 Nov 2003 16:40:57 GMT
Sireesha,

Its really a windows batch file. Set the following in your environment.

ANT_HOME=D:\jakarta-ant-1.5
PATH=%PATH%\%ANT_HOME%\bin

Alternatively, open the command prompt and type the above. Then you try for
ant. It should work.

Cheers
Vijay


-----Original Message-----
From: Sireesha Beeram [mailto:sireesha_beeram@hotmail.com]
Sent: 10 November 2003 16:37
To: user@ant.apache.org
Subject: NoClassDefFoundError


Hi,

I am having the following problem while using 'ant;

-----
D:\Tomcat 4.1\webapps\struts-examples\WEB-INF>ant
The system cannot find the path specified.
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tools/ant/
Main
D:\Tomcat 4.1\webapps\struts-examples\WEB-INF>
------------

But I have ant in my path.
My path:
------
D:\Tomcat 4.1\webapps\struts-examples\WEB-INF>
D:\Tomcat 4.1\webapps\struts-examples\WEB-INF>echo %path%
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program 
Files\Mic
rosoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual 
Studio
\Common\Tools;C:\Program Files\Microsoft Visual 
Studio\VC98\bin;C:\Sun\j2eesdk1.
4_beta2\bin;D:\jakarta-ant-1.5\bin
------------------

Thanks a lot for you help.

Thanks,
sireesha

_________________________________________________________________
MSN Messenger with backgrounds, emoticons and more. 
http://www.msnmessenger-download.com/tracking/cdp_customize


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


This email is intended only for the use of the addressees named above and may be confidential
or legally privileged. If you are not an addressee you must not read it and must not use any
information contained in it, nor copy it, nor inform any person other than Lynx Financial
Systems or the addressees of its existence or contents.  If you have received this email and
are not a named addressee, please delete it and notify the Lynx Financial Systems IT Department
on 0113 2892990.

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


Mime
View raw message