See also the FAQ [1]. Jan
[1] http://ant.apache.org/faq.html#NoClassDefFoundError > -----Urspr�ngliche Nachricht----- > Von: Travis Quarterman [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 16. September 2004 20:52 > An: Ant Users List > Betreff: Re: Exceptions > > This is really bizarre, I have placed, "ant-launcher.jar" in my > CLASSPATH, yet i still get this same error: > > "Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/tools/ant/launch/Launcher" > > There is not /etc/ant.con present. > > CLASSPATH /export/home/me/src/ant-1.6.2/lib/ant-launcher.jar > > > On Thu, 16 Sep 2004 13:44:11 -0400, Travis Quarterman > <[EMAIL PROTECTED]> wrote: > > I am using Solaris and ":" seems to be the delimiter for my > > ".tcsrc.local" file. Is there a beeter way of setting ANT_HOME and > > CLASSPATH than your your shell, for UNIX users, or should I > call these > > variables via "env" from within Ant build.xml? > > > > - Travis > > > > > > > > > > On Thu, 16 Sep 2004 09:40:47 -0700, Jeff Davidson > > <[EMAIL PROTECTED]> wrote: > > > I could be wrong, but should those colons (:) be > semicolons (;)? It > > > looks like you're using (probably) Linux, so I can't say > for certain, > > > having little experience of my own with Linux. > > > > > > Regards, > > > ~Jeff > > > > > > -----Original Message----- > > > From: Travis Quarterman [mailto:[EMAIL PROTECTED] > > > Sent: September 16, 2004 09:34 > > > To: Ant users > > > Subject: Exceptions > > > > > > Greetings! > > > > > > When I execute Ant I am getting this error, "Exception in > thread "main" > > > java.lang.NoClassDefFoundError: > > > org/apache/tools/ant/launch/Launcher." Here is my CLASSPATH: > > > > > > > CLASSPATH=/export/home/me/src/ant-1.6.2/lib/ant.jar:/export/ho > me/me/src/ > > > ant-1.6.2/lib/ant-launcher.jar:/usr/local/we > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional > > > commands, e-mail: [EMAIL PROTECTED] > > > > > > This electronic message transmission, including > attachments, is for the exclusive use of the individuals to > which this e-mail is addressed and is to be reviewed and used > exclusively for authorized company purposes. This > transmission may contain proprietary, confidential or > privileged information. If you are not the intended > recipient of this transmission, you are hereby notified that > any use, copying, disclosure, dissemination, distribution or > taking of any action in reliance upon the contents of this > transmission is strictly prohibited. If you believe you may > have received this electronic message in error, please notify > the sender immediately by return email and delete or destroy > the original message and/or any copy of it from your computer > system and/or your files. Thank you. > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
