Re: Ant FTP task NoClassDefFoundError
- From: Rob Seegel <RobSeegel@xxxxxxxxxxx>
- Date: Tue, 15 May 2007 20:35:22 -0400
Karsten Wutzke wrote:
Could not create type ftp due to java.lang.NoClassDefFoundError: org/
apache/commons/net/ftp/FTPClientConfig
I checked my Ant installation, I downloaded the latest 1.7 some weeks
ago (binary zip) and the optional jars all seem to be in the Ant lib
subdir (such as ant-commons-net.jar).
Hello Karsten,
That isn't sufficient. ant-commons-net only contains ant-specific code such as taskdef and other related helper classes that depend on other external libraries. You still require commons-net 1.4.0 and jakarta-oro 2.0.8 or later in order to use the FTP task. The Task docs link to the Library Dependencies.
Regards,
Rob
.
- Prev by Date: Available consultant immediately with us( 4 Oracle, 1 C/C++, 1 SAP SD )
- Next by Date: Java software for Interactive Brokers
- Previous by thread: Available consultant immediately with us( 4 Oracle, 1 C/C++, 1 SAP SD )
- Next by thread: Java software for Interactive Brokers
- Index(es):