码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2018-10-10 15:26:35      阅读:251      评论:0      收藏:0      [点我收藏+]

标签:you   cli   一个   sel   enc   pen   解决方法   ade   hat   

  运行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 - 一个错误及解决办法

标签:you   cli   一个   sel   enc   pen   解决方法   ade   hat   

原文地址:https://www.cnblogs.com/java-synchronized/p/9766349.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!