Hi while trying to work with camel-sftp I encountered the error described
below:
java.lang.NoSuchMethodError:
com.jcraft.jsch.Session.setConfig(Ljava/lang/String;Ljava/lang/String;)V
at
org.apache.camel.component.file.remote.SftpOperations.createSession(SftpOperations.java:138)
at
org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:82)
at
org.apache.camel.component.file.remote.RemoteFileConsumer.connectIfNecessary(RemoteFileConsumer.java:93)
at
org.apache.camel.component.file.remote.RemoteFileConsumer.prePollCheck(RemoteFileConsumer.java:47)
at
org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:67)
at
org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:106)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
I have stopped the old jsch version 0.1.31 and installed 0.1.42, but the err
is still the same.
kindly help out.
--
View this message in context:
http://old.nabble.com/java.lang.NoSuchMethodError%3A-com.jcraft.jsch.Session.setConfig-tp28446137p28446137.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.