3

我正在尝试将解析器添加到我的 Play 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/"
)
4

1 回答 1

2

通过添加解决:

import Keys._
import PlayProject._
于 2013-02-05T15:58:44.640 回答