How to fix the unresolved dependencies for Anorm in scala version 2.13

206 Views Asked by At

I would like to import anorm dependencies on to my scala play frame work project but it doesn't support on my current scala version. What should I do?

libraryDependencies += "com.typesafe.play" %% "anorm" % "2.3.9"

Error shown:

sbt.librarymanagement.ResolveException: unresolved dependency: com.typesafe.play#anorm_2.13;2.3.9: not found

1

There are 1 best solutions below

0
Med Ali On BEST ANSWER

The version that you use for anorm is too old 2.3.9 . The artifact of this library is already moved to "org.playframework.anorm".

You already using scala 2.13 so you have to use :

"org.playframework.anorm" %% "anorm" % "2.6.4"