【发布时间】:2012-11-08 13:39:28
【问题描述】:
我在使用 Play 2.0 版本时遇到问题。我需要使用 anorm 的新 getAliased 方法但找不到:
value getAliased 不是 anorm.MetaData 的成员
同时,它被添加到这个提交中:https://github.com/playframework/Play20/pull/370
我的 plugins.sbt 是这样说的:
addSbtPlugin("play" % "sbt-plugin" % "2.0.4")
如果4个月前将对应的库代码推送到大师Play 2.0,为什么我的代码没有编译?
我的代码,仅供参考:
MetaData(null).getAliased("")
【问题讨论】: