Fork me on GitHub
#cljdoc
<
2018-10-20
>
saskia12:10:14

Hey everyone, I’m running into a problem when starting the REPL for cljdoc in Cursive. Here’s the exception I’m getting: CompilerException java.lang.NoClassDefFoundError: com/jcraft/jsch/ConfigRepository, compiling:(cljdoc/git_repo.clj:30:13) what I have found out so far is that the class path contains com/jcraft/jsch/0.1.49/jsch-0.1.49.jar, but the file ConfigRepository.class is missing. If someone has encountered the same issue or has an idea on how to solve it, I would be happy to get some insights 😃

drowsy12:10:05

Thats strange, because when I start a repl via cursive, jsch-0.1.54.jar ends up in the class path (and everything works btw.)

drowsy12:10:35

Oh and yes, ConfigRepository seems to not be part of 0.1.49 but 0.1.54. So the question is, where does this version com from.

drowsy13:10:30

@U22C3S51A easiest workaround is probably to add a pinned com.jcraft/jsch {:mvn/version "0.1.54"} to the deps.edn.

saskia13:10:48

I’ll give that a go later, thanks for your help @U44SHEP4N!

martinklepsch15:10:11

@U22C3S51A also try rm -rf .cpcache not sure if that helps but maybe worth a try

martinklepsch15:10:23

You can also try temporarily commenting out the respective import in git_repo.clj because I think it’s not used these days

saskia10:10:19

thanks Martin! I removed the cpcache and the issue is gone now 😃

martinklepsch10:10:44

¯\(ツ)😄