想帮测试弄个简单点的替换代码的方法的。结果就卡死了。忧郁~~
报错提示如下:
BUILD FAILED
/home/noc/workspace/22/build.xml:39: The following error occurred while executing this line:
/home/noc/workspace/22/build.xml:23: 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 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