Description
Hi, thanks again for a brilliant library.
I'm scratching my head about this one.
Using Clojure 1.11.1, OpenJDK 17, macOS 14.2.1, this works fine:
$ clj -M:examples
user=> (load "e28_canvas")
But using the same tools via CIDER in emacs (cider-jack-in-clj
specifying the :examples
alias, and running cider-load-buffer
within e28_canvas.clj
) gives an error (condensed):
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.0.0\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.44.0\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[cider.nrepl/cider-middleware\]\"\]\}\}\} -M:cider/nrepl:examples
Loading /path/to/cljfx/examples/e28_canvas.clj...
=> Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: Could not initialize class javafx.scene.control.Slider
Sometimes it's Control
rather than Slider
. The exception originates from the call to create-props
in create-composite-component
in cljfx.composite
.
This did not happen in the past, but I haven't been able to determine which change in which system component caused it!
Empirically the only difference betwen (System/getProperty "java.class.path")
between the two is the presence of cider-related jars orchard
, nrepl
, logjam
and cider-nrepl
.
Is there an obvious way I can investigate this further?