java.lang.NoSuchMethodError: com.jcraft.jsch.ChannelSftp.isClosed()Z

Coderanch | Rob Spoor | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Reading remote file - difference between linux and windows deployments

    Coderanch | 6 years ago | Rob Spoor
    java.lang.NoSuchMethodError: com.jcraft.jsch.ChannelSftp.isClosed()Z

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.jcraft.jsch.ChannelSftp.isClosed()Z

      at org.apache.commons.vfs.provider.sftp.SftpFileSystem.putChannel()
    2. Commons VFS
      AbstractFileObject.getContent
      1. org.apache.commons.vfs.provider.sftp.SftpFileSystem.putChannel(SftpFileSystem.java:158)
      2. org.apache.commons.vfs.provider.sftp.SftpFileObject.statSelf(SftpFileObject.java:148)
      3. org.apache.commons.vfs.provider.sftp.SftpFileObject.doGetType(SftpFileObject.java:75)
      4. org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1296)
      5. org.apache.commons.vfs.provider.AbstractFileObject.getContent(AbstractFileObject.java:1041)
      5 frames