How to Fix Noclassdeffounderror With Jschexception

There are 2 ways to solve this problem, depending on your setup.

1.) If you're using ant installed on your machine, example on c:\apache-ant. Just place the jsch.jar in it's lib folder.

2.) In case you are using eclipse's ant plugin.
a.) Open eclipse
b.) Click Window->Preference
c.) In type filter textbox type "ant"
d.) Click Runtime
e.) Expand "Global Entries"
f.) Add external jar, and locate jsch.jar in your system
javascript:void(0)

3 Comments

  1. Thank you!! Your post help me a lot! (my English is very poor, I'm sorry) But I want to give you my thanks.
    Bye.

    ReplyDelete
  2. Thanks a million!!

    ReplyDelete

Post a Comment

Post a Comment

Previous Post Next Post
NERV Open Source

Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.

Explore NERV on GitHub →