Ok, I'm trying to figure out how to add selection to my table, I think I've done this correctly, but I'm getting an error message java.lang.IllegalArgumentException: No implementation of method: :create of protocol: #'cljfx.lifecycle/Lifecycle found for class: nil
https://github.com/jonathanabennett/megastrike/blob/c64bade449303ebcd255c8392e2edd470cac095e/src/megastrike/gui/views.clj#L58
How would I use that if I'm using Leiningen? It isn't a dependency because I don't want it installed when I build the uberjar.
add it as a :dev dependency
https://github.com/cljfx/dev#improved-error-messages-with-spec
the code snippet in this readme section sketches how you can use it in dev while excluding it for the build
So how do I add it as a :dev dependency? Like this?
:profiles {:dev {:dependencies [[io.github.cljfx/dev "1.0.38"]]}}
Still learning how all of this works
looks like it
Oh man, this help-ui... That's life-changing!
As a side note, when I encounter these errors, I never know what to do to debug them. What's nil? where did it come from? How can I tell?
Ok, I managed to find it. I had some of the property keywords incorrect. I'm still not satisfied with how I'm debugging these errors (which is basically swiping back and forth between the example code and my code until I feel my eyes start to cross).
Hey check out cljfx/dev
It helps with errors like these