This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-20
Channels
- # aleph (15)
- # announcements (12)
- # aws-lambda (1)
- # babashka (54)
- # beginners (35)
- # calva (2)
- # cider (31)
- # clerk (13)
- # clj-kondo (65)
- # clj-on-windows (14)
- # cljsrn (7)
- # clojure (57)
- # clojure-art (1)
- # clojure-dev (1)
- # clojure-europe (19)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (1)
- # clojurescript (9)
- # community-development (25)
- # cursive (2)
- # data-science (3)
- # emacs (19)
- # events (1)
- # fulcro (21)
- # humbleui (1)
- # hyperfiddle (15)
- # jobs (8)
- # london-clojurians (2)
- # malli (18)
- # off-topic (1)
- # portal (6)
- # reagent (3)
- # releases (3)
- # sci (1)
- # shadow-cljs (73)
- # spacemacs (4)
- # sql (9)
Has any one tried to use AWS Athena with JDBC Next? I'm having trouble getting a driver to be picked up
Unhandled clojure.lang.ExceptionInfo
Execution error (SQLException) at java.sql.DriverManager/getConnection (DriverManager.java:706). No suitable driver found for jdbc:=...
That kind of thingI've tried these two separately in deps.edn:
awsathena/driver {:local/root "./AthenaJDBC42-2.0.35.1001.jar"}
liftoff/athena-jdbc-driver {:mvn/version "1.0.0"}
Pointing to the jar directly (as defined above) gives this:
Or perhaps be more knowledgeable about Maven than I am, but I remember going through this and all those variables only get filled in if you install it properly (e.g. mvn install:install-file -Dfile="./AthenaJDBC42.jar" -DgroupId=Athena -DartifactId=AthenaJDBC42 -Dversion=2.0.31.1000 -Dpackaging=jar -DgeneratePom=true
in my case).
Thank you, I'll install maven 🙂
I understand that the jar gets installed into .m2, I haven't tried anything yet but do I just update local/root to the jar in .m2 or can I use it like a normal maven coord in deps.edn?