aws

Nim Sadeh 2024-05-20T14:43:29.859139Z

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 AWS

Nim Sadeh 2024-05-20T14:47:48.043549Z

This suggest it may be some dependency hell that I don't know how to solve: https://github.com/cognitect-labs/aws-api/issues/210

scottbale 2024-05-20T18:50:58.270409Z

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.

Nim Sadeh 2024-05-20T22:07:28.733639Z

Thanks for that! I ended up specifying what they said in the GH thread and it worked

👍 1