【问题标题】:How should routesImport be defined in build.sbt in Play 2.3?在 Play 2.3 的 build.sbt 中应该如何定义 routesImport?
【发布时间】:2014-08-04 13:25:15
【问题描述】:

我正在将一个项目从 Play 2.2 升级到 2.3.0。

build.sbt 中的以下 routesImport 行停止解析,Play 显示 val not found error

lazy val root = (project in file(".")).enablePlugins(PlayScala)

routesImport += "binders._"

我找不到任何 2.3.x 的文档来解释如何迁移它。请指教。

【问题讨论】:

    标签: scala playframework sbt playframework-2.3


    【解决方案1】:

    routesImportsimport play.PlayImport.PlayKeys._

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-08-21
    • 2014-06-15
    • 2014-08-04
    • 2014-11-20
    • 1970-01-01
    • 2014-11-29
    • 2014-12-06
    • 1970-01-01
    相关资源
    最近更新 更多