我需要通过scp复制一个war文件。
我已经将
Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found. This looks like one of Ant's optional components.
这是运行
我已经将
jsch-0.1.42.jar
添加到$ANT_HOME/lib
,但仍然出现以下错误:Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found. This looks like one of Ant's optional components.
这是运行
ant -diagnostics
的结果,仅供参考:
http://gist.github.com/320859