Pen*_*ena 2 postgresql playframework playframework-2.2
我正在尝试将样本'computer-database-jpa'连接到postgres,但我不能. https://github.com/playframework/playframework/tree/master/samples/java/computer-database-jpa 你能帮帮我吗?
我的步骤:
添加到application.conf:
db.default.driver=org.postgresql.Driver
db.default.url=" jdbc:postgresql://localhost:5432/teste "
db.default.user="postgres"
db.default.password="postgre"
Run Code Online (Sandbox Code Playgroud)结果: 浏览器消息:找不到驱动程序:[org.postgresql.Driver]
问题出在哪儿 ?
PostgreSQL工件已移至新的组ID org.postgresql.
"org.postgresql" % "postgresql" % "9.3-1100-jdbc4"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3118 次 |
| 最近记录: |