![](/img/trans.png)
[英]Pass System Properties in Play Framework Test with Activator
[英]Play framework not found value routesGenerator when running activator run
我正在嘗試設置播放框架,但是在運行時
activator run
我收到此錯誤
/build.sbt:17: error: not found: value routesGenerator
routesGenerator := InjectedRoutesGenerator
^
[error] Type error in expression
我一直在尋找解決方案,但是運氣框架2.3.9是否存在任何不兼容問題?
我的環境是Java 1.7.0_21的ubuntu 12.0.4
謝謝。
我知道您已經接受了正確的答案,但是以下是解決此問題的方法:您缺少此導入:import play.sbt.routes.RoutesKeys._
InjectedRoutesGenerator來自Play 2.4.x
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.