Hi,

I tried to use the sftp-resolver for publishing and ran into this exception:
java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException
        at 
org.apache.ivy.plugins.resolver.SFTPResolver.<init>(SFTPResolver.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.ivy.util.Configurator.addChild(Configurator.java:574)
        at 
org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:503)
        at 
org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:579)
        at 
org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:201)
......etc....

I googled a bit and found this very old issue:
http://code.google.com/p/ivyidea/issues/detail?id=58

Does anyone successfully use the sftp-resolver?
Do I need to add some jars to the ant-classpath?

Thanks for any info,
Felix

The information included in this e-mail and any files transmitted with it is 
strictly confidential and may be privileged or otherwise protected from 
disclosure. If you are not the intended recipient, please notify the sender 
immediately by e-mail and delete this e-mail as well as any attachment from 
your system. If you are not the intended recipient you are not authorized to 
use and/or copy this message and/or attachment and/or disclose the contents to 
any other person.

Reply via email to