datahike

jindrichm 2025-11-15T15:51:07.787089Z

Hi all, I'm getting ClassNotFoundException when compiling a namespace that requires datahike.api and uses (:gen-class). When I remove either the (:gen-class) or the dependency on datahike.api, the namespace compiles fine. I'm using the latest version of Datahike (0.6.1610). Does Datahike have any known issues with AOT compilation caused by (:gen-class)? I searched through the documentation and haven't found any. I would appreciate any tips for debugging this issue.

jindrichm 2025-11-15T19:13:59.510979Z

It seems that the issue was caused by corrupted code of Clojure. Deleting ~/.m2/repository/org/clojure and downloading a fresh version of Clojure fixed the issue.

whilo 2025-11-16T06:45:00.849119Z

ok, cool; happy that it works now 🙂

❤️ 1