Ant FTP task - cannot create type?

Up vote 1 down vote favorite share g+ share fb share tw.

I want to deploy some files through FTP but I still can't due to error: Could not create type ftp due to java.lang. NoClassDefFoundError: org/apache/commons/net/ftp/FTPClientConfig In ant lib directory I have: lrwxrwxrwx 1 root root ant-bootstrap. Jar -> ../../java/ant-bootstrap.

Jar lrwxrwxrwx 1 root root ant-commons-net. Jar -> ../../java/ant/ant-commons-net. Jar lrwxrwxrwx 1 root root ant.

Jar -> ../../java/ant. Jar lrwxrwxrwx 1 root root ant-launcher. Jar -> ../../java/ant-launcher.

Jar lrwxrwxrwx 1 root root commons-net. Jar -> /usr/share/java/commons-net. Jar Thanks for any help.

Ant link|improve this question edited Mar 12 at 7:06oers4,5794820 asked Mar 11 at 12:04Josef Zamrzla82.

I assume that you are using ant 1.8. You need apache-commons-net-2.0. Jar and jakarta-oro-2.0.8. Jar in the lib folder as listed in this blogpost and in the docs(Although the doc says 1.4 should be enough).

I'm using Ant 1.8.3. I have downloaded files: commons-net 2.0 and oro-2.0.8, moved them to lib directory but result is still the same :-( – Josef Zamrzla Mar 12 at 13:12 @JosefZamrzla did you remove the old commons-net. Jar?

– oers Mar 12 at 13:13 Now I really don't know. I have re-installed ant (again :-/), replace nested JAR-files and now it runs ok... Maybe the was a mistake that ANT_HOME wasn't defined, but I'm not sure... Thanks for your time! – Josef Zamrzla Mar 12 at 15:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send