GitHub user kaa-dev-35 added a comment to the discussion: Migration from Akka 
to Pekko - jackson serialization error

The problem that led me to switch to 1.1.0-M1 was with the 
"pekko-persistence-jdbc" % "1.0.0" dependency. It relies on an older version of 
Slick (3.3.3), while "org.playframework" %% "play-slick" % "6.1.1" depends on 
the latest Slick version. I finally changed the play-slick dependency to an 
older version from Typesafe. The project compiles and starts, but I still get 
the same serialization error.

**application.conf:**

```scala
scalaVersion := "2.13.14"

ThisBuild / evictionErrorLevel := Level.Info

lazy val PekkoVersion = "1.0.2"
lazy val PekkoHttpVersion = "1.0.1"
lazy val PekkoManagementVersion = "1.0.0"

libraryDependencies ++= Seq(
  guice,
  ws,
  clusterSharding,
  "org.apache.pekko"  %%  "pekko-connectors-kafka"  % "1.0.0",
  "org.postgresql"  % "postgresql"  % "42.7.3",
  //"org.playframework" %%  "play-slick"  % "6.1.1",
  "com.typesafe.play" %% "play-slick" % "5.0.2",
  "org.apache.pekko"  %%  "pekko-http" % PekkoHttpVersion,
  "org.apache.pekko"  %%  "pekko-http-spray-json" % PekkoHttpVersion,
  //"org.apache.pekko"  %%  "pekko-cluster-typed" % PekkoVersion,
  //"org.apache.pekko"  %%  "pekko-cluster-sharding-typed" % PekkoVersion,
  //"org.apache.pekko"  %%  "pekko-serialization-jackson" % PekkoVersion,
  "org.apache.pekko"  %%  "pekko-discovery" % PekkoVersion,
  "org.apache.pekko"  %%  "pekko-management-cluster-http" % 
PekkoManagementVersion,
  "org.apache.pekko"  %%  "pekko-management-cluster-bootstrap"  % 
PekkoManagementVersion,
  "org.apache.pekko"  %%  "pekko-discovery-kubernetes-api"  % 
PekkoManagementVersion,
  "org.apache.pekko" %% "pekko-persistence-typed" % PekkoVersion,
  "org.apache.pekko" %% "pekko-persistence-query" % PekkoVersion,
  "org.apache.pekko" %% "pekko-persistence-jdbc" % "1.0.0",
  // For projections
  //"org.apache.pekko" %% "pekko-projection-durable-state" % "1.0.0",
  //"org.apache.pekko" %% "pekko-projection-slick" % "1.0.0",
  "org.scalatestplus.play" %% "scalatestplus-play" % "7.0.1" % Test
)
```

GitHub link: 
https://github.com/apache/pekko/discussions/1389#discussioncomment-9958290

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to