In maven repository Scorex 2.0.0-RC6 has a problem with io.circe.circe-core dependency, that was not present in RC4.
In Scorex build.sbt file version 0.8.0 was set, but actually Scorex is built with 0.9.x version.
I suppose, that it's because of "de.heikoseeberger" %% "akka-http-circe" % "1.20.0", that as a subdependency has io.circe.circe-core 0.9.x.
Here is the screen of RC6 dependencies on my machine:
Actually problem occurs when I use Scorex RC6 maven dependency in my project. Each time when ApiRoute class initialization is processed, I have an exception of non-existing method for implicit val printer: Printer = Printer.spaces2.copy(dropNullValues = true), because io.circe.Printer trait is different in circe 0.8.x and 0.9.x.
Solution: update build.sbt with
val circeVersion = "0.9.0" or even newer.
In maven repository Scorex 2.0.0-RC6 has a problem with
io.circe.circe-core
dependency, that was not present in RC4. In Scorex build.sbt file version0.8.0
was set, but actually Scorex is built with0.9.x
version. I suppose, that it's because of"de.heikoseeberger" %% "akka-http-circe" % "1.20.0"
, that as a subdependency hasio.circe.circe-core 0.9.x
.Here is the screen of RC6 dependencies on my machine:
Actually problem occurs when I use Scorex RC6 maven dependency in my project. Each time when
ApiRoute
class initialization is processed, I have an exception of non-existing method forimplicit val printer: Printer = Printer.spaces2.copy(dropNullValues = true)
, becauseio.circe.Printer
trait is different in circe0.8.x
and0.9.x
.Solution: update
build.sbt
withval circeVersion = "0.9.0"
or even newer.