運行build.xml出現異常:ui
Cause: Could not load a dependent class com/jcraft/jsch/Loggerspa
It is not enough to have Ant‘s optional JARsxml
you need the JAR files that the optional tasks depend upon.ci
Ant‘s optional task dependencies are listed in the manual.io
解決方法: 加入jsch-x.x.x.jarclass
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.require