onyx-platform/onyx-datomic

Getting onyx-datomic to work with Datomic Pro and Cassandra for storage?

cuddlypotato opened this issue · 1 comments

Hi,

I'm attempting to use onyx:0.10.x+onyx-datomic:0.10.x+datomic-pro:0.9.5561 with Cassandra for storage, but I'm getting:

Exception in thread "main" clojure.lang.ExceptionInfo: Could not initialize class datomic.kv_cassandra__init {:original-exception :java.lang.NoClassDefFoundError}

My main Datomic transactors and peers are already working with dependencies:

[com.datomic/datomic-pro "0.9.5561"]
[com.datastax.cassandra/cassandra-driver-core "3.3.0"]

Is there something I can do here?

It was indeed:

java.lang.NoClassDefFoundError == 2 different versions of the same artifact on your class path
lein deps :tree will warn you at the top of the output when you have collisions. Look for those

Thanks @MichaelDrogalis ! :)