Clojure accessing static inner class builder expecting var but mapped to class error on build
You lack the .
behind HttpClientConfig$Builder
. Your code does a static call on a class basically. You need the new
from your example.
(-> (HttpClientConfig$Builder. "http://localhost:9200") ; note the `.` (.build))