[SOLVED] Cannot load v2.0.0-beta2: no such var xt/template

Edit: Got it to work! Never mind.

Following the Clojure guide, with

  • Clojure 1.12.0
  • Java 1.21

I get a syntax error:

Syntax error compiling at (xtdb/sql/plan.clj:1057:13).
No such var: xt/template

In deps.edn, I set JVM options and these dependencies

com.xtdb/xtdb-api {:mvn/version "2.0.0-beta2"}
com.xtdb/xtdb-core {:mvn/version "2.0.0-beta2"}

I see the template macro in xtdb.api - kinda stumped by this one. Ideas welcome.

Edit: Got it to work! Never mind.

1 Like

Hey @kpassapk thanks for confirming that you’re not blocked, but do you have any idea what might have gone wrong for you? Did you end up resetting the Maven cache etc.?

I was using Biff, which works with xtdb v1, and I hadn’t mocked out the XTDB v1 dependency properly.

1 Like