我试图在他们的 Yabe 教程中使用 Postgresql 和 Play 并得到这个错误:
无法连接到数据库,找不到驱动程序(org.postgresql.Driver)
这是我的连接字符串:
# If you need a full JDBC configuration use the following :
db.url=jdbc:postgresql:yabe
db.driver=org.postgresql.Driver
db.user=yabe
db.pass=yabe
#
# Connections pool configuration :
db.pool.timeout=1000
db.pool.maxSize=30
db.pool.minSize=1
在我的 lib 文件夹中,我有这个:postgresql-9.1-901.jdbc3.jar
我尝试将驱动程序名称更改为与 tha jar 相同的名称,但仍然出现相同的错误。有任何想法吗?