Reputation: 21
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 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 ?
Upvotes: 2
Views: 3161
Reputation: 1445
PostgreSQL artifacts have moved to a new group ID org.postgresql
.
"org.postgresql" % "postgresql" % "9.3-1100-jdbc4"
Upvotes: 6