Does anyone know what leads to
{:cognitect.anomalies/category :cognitect.anomalies/fault, :cognitect.anomalies/message "org/eclipse/jetty/io/CyclicTimeouts$Expirable", :cognitect.http-client/throwable #error {
:cause "org.eclipse.jetty.io.CyclicTimeouts$Expirable"
:via
[{:type java.lang.NoClassDefFoundError
:message "org/eclipse/jetty/io/CyclicTimeouts$Expirable"
:at [org.eclipse.jetty.client.http.HttpClientTransportOverHTTP newHttpDestination "HttpClientTransportOverHTTP.java" 54]}
{:type java.lang.ClassNotFoundException
:message "org.eclipse.jetty.io.CyclicTimeouts$Expirable"
:at [jdk.internal.loader.BuiltinClassLoader loadClass "BuiltinClassLoader.java" 641]}]
:trace
I have lost an hour on this - I have two projects with the same exact setup, one is working just fine, and the other keeps getting this error. Dependencies are the same wrt to Cognitect AWSThis suggest it may be some dependency hell that I don't know how to solve: https://github.com/cognitect-labs/aws-api/issues/210
I suggest examining the full dependency tree of the problem project (`lein deps :tree` if it's a leiningen-based project or clojure -X:deps tree for a deps.edn-based project). Look for multiple jetty artifacts with conflicting versions. If there are, try either excluding all but one, or adding one as an explicit direct dependency in your project.
Thanks for that! I ended up specifying what they said in the GH thread and it worked