Bug#623301: libjsch-java: ant scp task fails
ciklop.kirill at gmail.com
Tue Apr 19 04:48:15 UTC 2011
When i'm tring to run ant with my build.xml, it fails on scp task.
The following error occurred while executing this line:
/home/ciklop/tmp/freeradio/build.xml:259: Problem: failed to create task or
Cause: Could not load a dependent class com/jcraft/jsch/Logger
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:
-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
I put jsch 0.1.44 in ~/.ant/lib and problem has been solved
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
More information about the pkg-java-maintainers