-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Elastic Bamboo
-
0
-
1
A user reports that the Ant ftp task fails with:
Could not create type ftp due to java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClientConfig
and the scp task fails with:
Problem: failed to create task or type scp Cause: Could not load a dependent class com/jcraft/jsch/UserInfo It is not enough to have Ant's optional JARs you need the JAR files that the optional tasks depend upon. Ant's optional task dependencies are listed in the manual. Action: Determine what extra JAR files are needed, and place them in one of: -/opt/apache-ant-1.7.1/lib -/home/bamboo/.ant/lib -a directory added on the command line with the -lib argument Do not panic, this is a common problem. The commonest cause is a missing JAR. This is not a bug; it is a configuration problem Total time: 0 seconds
Per the Ant dependencies it would be good if we included the required jars for these.