Giter Club home page Giter Club logo

2x-playground's Issues

Dependency of com.xtdb.labs causes conflict

When starting the program, the following error will be reported:

clojure.lang.ExceptionInfo: Conflicting data-reader mapping {:url #object[java.net.URL 0x2b4c1d96 "jar:file:/C:/Users/xlawin/.m2/repository/com/xtdb/xtdb-api/2.0.0-SNAPSHOT/xtdb-api-2.0.0-SNAPSHOT.jar!/data_readers.clj"], :conflict xt/runtime-err, :mappings {xt/runtime-err #'xtdb.error/-runtime-err-reader, xt/interval-ym #'xtdb.serde/interval-ym-reader, xt/interval-mdn #'xtdb.serde/interval-mdn-reader, xt.tx/delete #'xtdb.serde/delete-op-reader, xt.tx/sql #'xtdb.serde/sql-op-reader, xt.tx/xtql #'xtdb.serde/xtql-op-reader, xt.tx/erase #'xtdb.serde/erase-op-reader, xt/interval-dt #'xtdb.serde/interval-dt-reader, xt/period-duration #'xtdb.serde/period-duration-reader, xt/tx-key #'xtdb.serde/tx-key-read-fn, xt.tx/put #'xtdb.serde/put-op-reader, xt/illegal-arg #'xtdb.error/-iae-reader, xt.arrow/type #'xtdb.types/->arrow-type, xt.tx/call #'xtdb.serde/call-op-reader, xt/clj-form #'xtdb.api/->ClojureForm}}

I found that when the dependency is replaced with the com.xtdb/xtdb-api library (like https://github.com/xtdb/sakila-playground), it works fine.

;; for testing only - run XTDB as a server for production(!)
;; com.xtdb.labs/xtdb-core {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-http-server {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-pgwire-server {:mvn/version "2.0.0-SNAPSHOT"}

;; XTDB API and http client
;; com.xtdb.labs/xtdb-api {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-http-client-clj {:mvn/version "2.0.0-SNAPSHOT"}

;; works fine
com.xtdb/xtdb-api {:mvn/version "2.0.0-SNAPSHOT"}
com.xtdb/xtdb-core {:mvn/version "2.0.0-SNAPSHOT"}
com.xtdb/xtdb-http-server {:mvn/version "2.0.0-SNAPSHOT"}

Example dataset required

Contenders:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.