У меня есть проект Scalatra со следующим build.sbt
organization := "com.example"
name := "scalatra-project"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.9.1"
seq(webSettings :_*)
libraryDependencies ++= Seq(
"org.scalatra" %% "scalatra" % "2.0.1",
"org.scalatra" %% "scalatra-scalate" % "2.0.1",
"org.scalatra" %% "scalatra-specs" % "2.0.2",
"org.scala-tools.testing" %% "specs" % "1.6.9",
"org.eclipse.jetty" % "jetty-webapp" % "7.4.5.v20110725" % "container",
"javax.servlet" % "servlet-api" % "2.5" % "provided",
"net.liftweb" %% "lift-json" % "2.4-SNAPSHOT",
"net.liftweb" %% "lift-mongodb" % "2.4-M5",
"net.liftweb" %% "lift-mongodb-record" % "2.4-M5"
)
resolvers += "Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
resolvers += "Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
resolvers += "Scala Tools Releases" at "http://scala-tools.org/repo-releases/"
resolvers += "Maven Repo" at "http://repo1.maven.org/maven2"
Когда я запускаю sbt
, я получаю следующую ошибку:
error: not found: value webSettings seq(webSettings :_*)
Как я могу решить эту проблему?