nrepl 2021-06-10

I have a problem with nrepl in gnu guix: cider info+stacktrace ops brings this error:

Caused by: java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet
	at java.base/java.net.URLClassLoader.findClass(Unknown Source)

hat worked!thank you so much @flowthing

I think you need JDK 9 or newer for jdk.javadoc.doclet.Doclet. What does java -version say?

java -version openjdk version "14" 2020-03-17 OpenJDK Runtime Environment (build 14+0-adhoc..jdk14-bc54620a3848) OpenJDK 64-Bit Server VM (build 14+0-adhoc..jdk14-bc54620a3848, mixed mode, sharing)

@flowthing do you know if there is a way to see if the doclet cjar is available? I think it is a classpath issue, but it might just be that the jar is missing.

It's supposed to be part of the base JDK distribution, so I have no idea why it's not included.

can I include it and do a ick test with a small project?

Sorry, had to go to sleep. It seems to me that the ClassNotFoundException is telling you that it's not there. But you can test it e.g. with the Clojure CLI tools like this:

clj -Srepro -e "(import '(jdk.javadoc.doclet Doclet))"

I belive some kind of java lib is missing ?