Skip to Content

Error while unzipping files using groovy script

Hi Experts,

I have a scenario SFTP-HCI-SFTP. I need to unzip the files and place them in target SFTP. Inorder to achieve the same followed the blog. But encountered with an error java.lang,NoSuchMethodException : No signature of method. Please find the screen shot for the same.

capture.jpg (27.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 26, 2017 at 02:17 PM

    Hi Pallavi!

    Wouldn't you please provide your source code?

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2017 at 01:45 PM

    Hello Pallavi,

    Please make sure that the method/function (read/write/unzip data) that you were using as part of script should have the relevant package/library imported.

    Regards,

    Naresh

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Naresh,

      I have imported the following libraries. Please let me know if I am missing anything.

      import com.sap.gateway.ip.core.customdev.util.Message;
      import java.util.HashMap;
      import java.nio.file.FileSystem;
      import java.nio.file.Path;
      import java.nio.file.Files;
      import java.nio.file.SimpleFileVisitor;
      import java.nio.file.FileVisitResult;
      import java.nio.file.attribute.BasicFileAttributes;
      import java.nio.file.StandardCopyOption;
      import java.nio.file.Paths;

      Thanks in Advance

      Pallavi