Provide jsch libraries in elastic default image so Ant scp works

XMLWordPrintable

    • 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.

            Assignee:
            Unassigned
            Reporter:
            Jeff Turner
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: