Question : ant ftp error

I get this error when I try to run ftp while doing an ant build. I have done this many times before so I am not sure what the problem is this time.

Ant ftp error: Could not create type ftp due to java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPCl

I am running on windows 2008, apache-ant-1.7.1, Java jre1.5.0_10

Answer : ant ftp error

cmalakar is right - you have missing libraries

You do not need to install anything - all you need is the jar file in the external folder of the ant... And as far as I remember you also need oro. You do not need to build it (this is where you need maven I believe), simply download the jar

You might also read through http://www.opensubscriber.com/message/user@ant.apache.org/2866650.html (go up and down the thread for all ideas and proposals) -- your ant just need to be configured to use the proper libraries (and you need to have them)
Random Solutions  
 
programming4us programming4us