2013-02-05 64 views
3

我試圖解析程序添加到我的播放2.1 RC4構建文件,並收到錯誤「找不到:值解析器」添加解析器(Maven回購)到Play Framework 2.1-RC4項目?

任何想法是怎麼回事?

import sbt._ 
import play.Project._ 

object ApplicationBuild extends Build { 

val appName = "myappname" 
val appVersion = "1.0-SNAPSHOT" 

val appDependencies = Seq(
    "org.ocpsoft.prettytime" % "prettytime" % "2.1.2.Final", 
    "com.twitter" % "cassie" % "0.19.0", 
    jdbc, 
    anorm) 


val main = play.Project(appName, appVersion, appDependencies).settings(defaultScalaSettings: _*).settings(
    resolvers += "Twitter's Repository" at "http://maven.twttr.com/" 
) 

回答

2

解決加入:

import Keys._ 
import PlayProject._