Fork me on GitHub
#datomic
<
2020-11-05
>
dogenpunk19:11:46

Has anyone run into this error using the datomic CLI?

Syntax error (FileNotFoundException) compiling at (clojure/core/async/impl/ioc_macros.clj:1:1).
Could not locate clojure/tools/analyzer__init.class, clojure/tools/analyzer.clj or clojure/tools/analyzer.cljc on classpath.
I’m coming back to a datomic cloud project after ~8mo. The datomic script loads tools.ops version 0.10.82. Seems to only occur if I run datomic commands from my project directory, so I assume this is an issue with the project deps.edn.

Alex Miller (Clojure team)19:11:38

you might need to update to latest version of the clojure tools (clj) - there were some dependency issues in past versions that would prevent necessary transitive deps from being included in the classpath

Alex Miller (Clojure team)19:11:11

the error above could definitely be a sign of that

dogenpunk20:11:05

Hmmm… clojure -h reports version is 1.10.1.727 which seems to be the latest. This is obviously not critical as I can just run from outside the project directory. I’m mostly worried that I screwed something up when upgrading datomic, ions, etc. Thanks for the help though!

Alex Miller (Clojure team)21:11:44

yep, that should be the latest

Alex Miller (Clojure team)21:11:38

if you want to ask at https://ask.datomic.com that would be a good place to file a question - would be helpful to include exactly what you ran (and your deps.edn if relevant)

dogenpunk12:11:19

Thanks, Alex. I’ll do that.