cancel
Showing results for 
Search instead for 
Did you mean: 

Error while unzipping files using groovy script

PallaviU
Participant
1,196

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190293
Active Contributor
0 Kudos

Hi Pallavi!

Wouldn't you please provide your source code?

Regards, Evgeniy.

PallaviU
Participant
0 Kudos

Hi Evgeniy,

Please find the attached source code imp.txt

0 Kudos

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

PallaviU
Participant
0 Kudos

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