cancel
Showing results for 
Search instead for 
Did you mean: 

Java Web Dynpro SFTP

victorpale
Participant
0 Kudos

Hello SAP's gurus,

I want to put a file in server with SFTP protocol, within my Java Web Dynpro applicaiton.

I'm developing with NWDS 7.01 and Application Server Java (Netweaver) 7.0 with a SAP JVM versión 4.1

For that, I use jar "jsch-0.1.54.jar", my code is next:

With the previous code, I get the next message error:


It is posible with my version of JVM?

Is there a error in the code?

Best regards,

Victor Carmona

Accepted Solutions (1)

Accepted Solutions (1)

richard-zhao
Employee
Employee

Hello Victor. Could you check whether you add jsch-0.1.54.jar in the build path or not? It seems that the classloader cannot find the jar file. thanks.

victorpale
Participant

Richard Zhao

Thanks for your answer, it help me so much.

The project had the .jar but the server did not.

I forget add .jar file in my folder "lib"

I paste directly the .jar file in my folder "lib", this resolved the issue.

Best regards,

Victor Carmona

Answers (1)

Answers (1)

victorpale
Participant
0 Kudos

Richard Zhao

Thanks so much, I did "Add External JARs" jsch-0.1.54.jar in my project:

Should I perform an activity on the server?

Best Regards,

Victor Carmona