akka / akka-persistence-jdbc

Asynchronously writes journal and snapshot entries to configured JDBC databases so that Akka Actors can recover state

Home Page:https://doc.akka.io/docs/akka-persistence-jdbc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Akka 2.6

vasyl-zhurba opened this issue · comments

Hi,

I am not able to use akka-persistence-jdbc with akka 2.6 any more. I get the following error:

java.lang.IllegalStateException: Detected possible incompatible versions on the classpath. Please note that a given Akka version MUST be the same across all modules of Akka that you are using, e.g. if you use [2.6.1] all other modules that are released together MUST be of the same version. Make sure you're using a compatible set of libraries. Possibly conflicting versions [2.6.1, 2.5.23] in libraries [akka-persistence:2.6.1, akka-actor:2.6.1, akka-slf4j:2.6.1, akka-stream-testkit:2.6.1, akka-actor-typed:2.6.1, akka-persistence-query:2.5.23, akka-protobuf-v3:2.6.1, akka-stream:2.6.1]

akka-persistence-jdbc depends on akka-persistence-query v2.5.23 which conflicts with akka 2.6.
Is there a way to fix this?

Problem on my side. Fixed it by adding latest version of akka-persistence-query which evicted old version