ant jsch.jar - 一个错误及解决办法

Posted 指针怒草内存栈

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ant jsch.jar - 一个错误及解决办法相关的知识,希望对你有一定的参考价值。

  运行build.xml出现异常:

  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.

  解决方法: 加入jsch-x.x.x.jar

  Go to Window > Preferences > Ant > Runtime > Classpath, select “Ant Home Entries (default)” and click “Add External JARs…”. Select the required dependency or dependencies and accept. Now, the selected JAR files will be loaded to the class path and the optional ant task depending on them will work.

以上是关于ant jsch.jar - 一个错误及解决办法的主要内容,如果未能解决你的问题,请参考以下文章

jsch jar包连接不上ssh报Algorithm negotiation fail 错误

jsch jar包连接不上ssh报Algorithm negotiation fail 错误

jsch jar包连接不上ssh报Algorithm negotiation fail 错误

jsch jar包连接不上ssh报Algorithm negotiation fail 错误

ant完成文件上传和启动服务

jsch jar包连接不上ssh报Algorithm negotiation fail 错误