I was following the Datomic tutorial, got everything set up on AWS and a succesful response from the curl {:s3-auth-path [bucket-name]}
After that I think that a client was created successfully:
(ns try-datomic.db
(:require [datomic.client.api :as d]))
(def cfg {:server-type :cloud
:region "eu-central-1"
:system "db-learn"
:creds-profile "default"
:endpoint "http://entry.db-learn.eu-central-1.datomic.net:8182/"
:proxy-port 8182})
(def client (d/client cfg))
Response from declaring a client is:
2021-02-17 17:48:24.708:INFO::nRepl-session-6***6: Logging initialized @13975ms to org.eclipse.jetty.util.log.StdErrLog
After that when trying to create a database with:
(d/create-database client {:db-name "movies"})
I get this error:
Execution error (ExceptionInfo) at datomic.client.api.async/ares (async.clj:58).
java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
Please help.