I'm using [com.bhauman/figwheel-main "0.2.18"], and my backend is using Ring. I want to upgrade to [ring "1.12.1"] . When I try to run my project with [ring "1.12.1"] , I get:
Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass (BuiltinClassLoader.java:641).
org.apache.commons.fileupload.UploadContext
I'm assuming this is some kind of dependency conflict (I am upgrading from [ring "1.10.0"]and it looks like the Jetty version has been upgraded since then (https://github.com/ring-clojure/ring/blob/master/CHANGELOG.md), while figwheel-main's jetty dependency has stayed the same. I've tried to run lein deps :tree , but I can't seem to find a combination of the suggested exclusions that make my project actually run.
Has anyone else run into this?This came up in #beginners the day: https://clojurians.slack.com/archives/C053AK3F9/p1714429676102059 -- TL;DR: figwheel-main relies on Jetty 9 for websocket stuff and Ring 1.12.1 depends on Jetty 11 which is not compatible.
Thank you! I was considering switching to shadow-cljs, but was hoping I wouldn't have to 😬