草庐IT

SalatPlugin

全部标签

mongodb - 无法使用 salat : command failed [listDatabases] 从 Play 应用程序连接到 MongoDB

我正在尝试开始使用playframework中的salat插件。我已经在application.conf中配置了数据库并将所有依赖项添加到Build.scala并将salat添加到play.plugins文件。我实际上还没有向项目添加任何代码,我只是按照github页面上的说明进行操作,然后尝试运行该项目。我收到以下错误消息(Serverstarted,useCtrl+Dtostopandgobacktotheconsole...)[info]play-mongodb[default]connectedatheroku_app4620908@ds031907.mongolab.com: