Created
August 8, 2018 15:42
-
-
Save joshkh/0b388c8e04533a461e1d2bbbc165a10d to your computer and use it in GitHub Desktop.
datomic cloud client error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; [com.datomic/client-cloud "0.8.56"] | |
(require '[datomic.client.api :as d]) | |
; => nil | |
(def client (d/client {:server-type :cloud | |
:region "..." | |
:system "..." | |
:query-group "..." | |
:endpoint "http://....datomic.net:8182/" | |
:proxy-port 8182})) | |
; 2018-08-08 16:40:51.446:INFO::nREPL-worker-0: Logging initialized @23931ms | |
; WARNING: An illegal reflective access operation has occurred | |
; WARNING: Illegal reflective access by org.eclipse.jetty.util.BufferUtil (file:/Users/josh/.m2/repository/org/eclipse/jetty/jetty-util/9.3.7.v20160115/jetty-util-9.3.7.v20160115.jar) to field java.nio.MappedByteBuffer.fd | |
; WARNING: Please consider reporting this to the maintainers of org.eclipse.jetty.util.BufferUtil | |
; WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
; WARNING: All illegal access operations will be denied in a future release | |
; => #'testapp.core/client | |
(def conn (d/connect client {:db-name "my-db"})) | |
;CompilerException clojure.lang.ExceptionInfo: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter #:cognitect.anomalies{:category :cognitect.anomalies/fault, :message "java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter"}, compiling:(form-init2931066163363115153.clj:1:11) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment