How can I configure the postgresql to play framework in java i already downloaded the postgresql-9.3-1101.jdbc4.jar file.

Thank you!

有帮助吗?

解决方案

Edit "build.sbt" file:

libraryDependencies ++= Seq(
  javaJdbc,
  javaEbean,
  cache,
  "org.postgresql" % "postgresql" % "9.3-1100-jdbc41"
)

See also http://www.scala-sbt.org/release/docs/Getting-Started/Library-Dependencies.html#managed-dependencies

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top