ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: NoClassDefFoundError
Date Mon, 10 Nov 2003 17:50:01 GMT
The path was correct.
However, you did not set "ANT_HOME".
ANT_HOME is used by the ant[.bat] script
to locate the jar files for ant (ant.jar etc).

If this is not set, the script attempts to
find the jar files, this may not always succeed.

Peter

On Monday 10 November 2003 17:02, Sireesha Beeram wrote:
> Vijay,
>
> Thank you. It worked. But I had 'D:\jakarta-ant-1.5\bin' in my path before
> too. See my original mail.
> Do you by any chance have an idea why my original path did not work.
>
> Thanks a lot.
>
> Sireesha.
>
>
>
>
> From: Vijay Viatla <Vijay.Viatla@lfs.co.uk>
>
> >Reply-To: "Ant Users List" <user@ant.apache.org>
> >To: 'Ant Users List' <user@ant.apache.org>
> >Subject: RE: NoClassDefFoundError
> >Date: Mon, 10 Nov 2003 16:40:57 -0000
> >
> >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
>
> _________________________________________________________________
> Send a QuickGreet with MSN Messenger
> http://www.msnmessenger-download.com/tracking/cdp_games
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


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


Mime
View raw message