git remote - Caused by: java.lang.ClassNotFoundException: com.jcraft.jsch.JSchException -


the protocol between local repository , remote repository https instead of ssh,does still need lib of jsch,and if it's true, can tell me how handle in details,thanks much~~

even if isn't used https access, jsch still required jgit.
see jgit dependencies.

that thread states same thing, when cloning https repo.

this blog post deals missing jsch library so:

there 2 ways solve problem, depending on setup.

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

2.) in case using eclipse's ant plugin.

  • open eclipse
  • click window->preference
  • in type filter textbox type "ant"
  • click runtime
  • expand "global entries"
  • add external jar, , locate jsch.jar in system

Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -