Milan Velebit
Milan Velebit

Reputation: 2027

Postgresql with Play (Scala) unresolved dependency

When I try to run my server, I get this Error:

sbt.ResolveException: unresolved dependency: postgresql#postgresql;42.1.0: not found

This happens with every version of postgresql I've yet tried, so I really don't see why. I've added the dependency in my build.sbt file like so:

libraryDependencies += "postgresql" % "postgresql" % "42.1.0"

Upvotes: 1

Views: 131

Answers (1)

Bartek
Bartek

Reputation: 134

Add this: libraryDependencies += "org.postgresql" % "postgresql" % "42.1.0" into build.sbt file

Upvotes: 2

Related Questions