This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-20
Channels
- # announcements (2)
- # beginners (108)
- # cljdoc (9)
- # clojars (1)
- # clojure (33)
- # clojure-spec (20)
- # clojure-uk (9)
- # clojurescript (23)
- # datascript (1)
- # datomic (5)
- # emacs (3)
- # fulcro (15)
- # graphql (1)
- # jobs (7)
- # lumo (12)
- # off-topic (40)
- # ring-swagger (1)
- # shadow-cljs (1)
- # tools-deps (7)
- # unrepl (6)
- # vim (1)
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 😃
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.)
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.
@U22C3S51A easiest workaround is probably to add a pinned com.jcraft/jsch {:mvn/version "0.1.54"}
to the deps.edn.
I’ll give that a go later, thanks for your help @U44SHEP4N!
@U22C3S51A also try rm -rf .cpcache
not sure if that helps but maybe worth a try
You can also try temporarily commenting out the respective import in git_repo.clj
because I think it’s not used these days
¯\(ツ)/¯ 😄