Hi Lekkie, Could you remember me some informations such as: - the ServiceMix version that you use - if you use JBI, your xbean and Camel route builder
Did you check if no other jsch jar is present in the classloader ? I checked in Camel 2.2.0, in the FTP component and the jsch version used is the 0.1.40. You can have a look here: http://svn.apache.org/repos/asf/camel/tags/camel-2.2.0/components/camel-ftp/pom.xml Regards JB On Tue 04/05/10 13:28, "lekkie" [email protected] wrote: > > 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(SftpOpe > rations.java:138) at > org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperation > s.java:82) at > org.apache.camel.component.file.remote.RemoteFileConsumer.connectIfNecessar > y(RemoteFileConsumer.java:93) at > org.apache.camel.component.file.remote.RemoteFileConsumer.prePollCheck(Remo > teFileConsumer.java:47) at > org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsume > r.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. > > > >
