ANT can't find specific libraries
问题 I am trying to use the SSHEXEC ANT task, which requires the JSCH library. When I try to use an SSHEXEC task, I get the following: BUILD FAILED /home/www/test/build/build.xml:140: Problem: failed to create task or type sshexec Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.SSHExec was not found. This looks like one of Ant's optional components. Action: Check that the appropriate optional JAR exists in -/usr/share/ant/lib -/root/.ant/lib -a directory added on the command line with