Build.scala is not generated in the game

I am trying to learn how to play by following the tutorial at http://www.playframework.com/documentation/2.2.x/ScalaTodoList

I have a problem with the /Build.scala file project for me. Do I have to create it manually?

thank.

+3


source to share


1 answer


We've updated Play to use the new build file format, but we missed this piece of code in the documentation. If you go to this page now, you should find the correct code.

To answer your question, you need to add the postgresql dependency by updating build.sbt

as follows:



libraryDependencies ++= Seq(
  jdbc,
  anorm,
  cache,
  "postgresql" % "postgresql" % "8.4-702.jdbc4"
)

      

+6


source







All Articles