Fork me on GitHub
#aws
<
2024-06-25
>
Lyn Headley20:06:32

I am seeing an error when trying to instantiate the aws client. My code is

(def chid (aws/client {:api :chime-sdk-identity}))
Upon evaluation, in my repl I see:
Syntax error (NoSuchFieldException) compiling . at (cognitect/http_client.clj:41:9).
getProperties
pretty strange. Here are some of my deps
{:deps {org.clojure/clojure {:mvn/version "1.11.3"}
        com.cognitect.aws/api {:mvn/version "0.8.692"}
        com.cognitect.aws/endpoints {:mvn/version "1.1.12.718"}
        com.cognitect.aws/chime {:mvn/version "848.2.1413.0", :aws/serviceFullName "Amazon Chime"}
        com.cognitect.aws/chime-sdk-identity {:mvn/version "848.2.1413.0",
                                              :aws/serviceFullName "Amazon Chime SDK Identity"}
        com.cognitect.aws/chime-sdk-messaging {:mvn/version "848.2.1413.0",
                                               :aws/serviceFullName "Amazon Chime SDK Messaging"}}

 :aliases
 {:dev {:extra-paths ["dev"]
        :extra-deps {com.biffweb/tasks {:git/url "",
                                        :git/tag "v1.8.10", :git/sha "146f2b1", :deps/root "libs/tasks"}}
        :jvm-opts ["-XX:-OmitStackTraceInFastThrow"
                   "-XX:+CrashOnOutOfMemoryError"
                   "-Dbiff.env.BIFF_PROFILE=dev"
                   "-Xmx2g"]
        :main-opts ["-m" "com.biffweb.task-runner" "tasks/tasks"]}}}

hiredman20:06:10

Likely a jetty http client version issue, check your transitive dependencies