dcsimg
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yaseen_Khan
Posted On:   Friday, January 6, 2006 06:44 AM

Im trying to build a sample application using ANT , which displays Hello World, when im trying to run the example using ant - v at command prompt, im getting this error " The system cannot find the path specified java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain "

I have checked my system variables , CLASSPATH and PATH

ANT_HOME is c:antjakarta-ant-1.5.1;
PATH is C:antjakarta-ant-1.5.1 in;
CLASSPATH C:antjakarta-ant-1.5.1lib;

can anyone suggest me how to successfully build ....

Thanks,
Yas

Re: java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain

Posted By:   Anonymous  
Posted On:   Friday, January 6, 2006 12:57 PM

About | Sitemap | Contact