Fork me on GitHub

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.


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


the error above could definitely be a sign of that


Hmmm… clojure -h reports version is 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!


yep, that should be the latest


if you want to ask at 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)


Thanks, Alex. I’ll do that.