I'm trying to connect the sample 'computer-database-jpa' to postgres , but I cant. https://github.com/playframework/playframework/tree/master/samples/java/computer-database-jpa Could you help me?
My steps:
- add jar (build path> configure build path > add external jars ... )
- add to build.sbt: "postgresql" % "postgresql" % "9.3-1100.jdbc4"
add to application.conf:
db.default.driver=org.postgresql.Driver db.default.url=" jdbc:postgresql://localhost:5432/teste " db.default.user="postgres" db.default.password="postgre"
Result: Browser message: Driver not found : [ org.postgresql.Driver ]
Where is the problem ?