简体   繁体   English

运行激活程序运行时找不到Play框架未找到值routeGenerator

[英]Play framework not found value routesGenerator when running activator run

I'm trying to setup play framework but when running 我正在尝试设置播放框架,但是在运行时

activator run

I receive this error 我收到此错误

/build.sbt:17: error: not found: value routesGenerator
routesGenerator := InjectedRoutesGenerator
^
[error] Type error in expression

I've searched for solutions with no luck, is there any incompatibility issue for play framework 2.3.9? 我一直在寻找解决方案,但是运气框架2.3.9是否存在任何不兼容问题?

My environment is ubuntu 12.0.4 with java 1.7.0_21 我的环境是Java 1.7.0_21的ubuntu 12.0.4

Thank you. 谢谢。

我知道您已经接受了正确的答案,但是以下是解决此问题的方法:您缺少此导入:import play.sbt.routes.RoutesKeys._

InjectedRoutesGenerator is from the Play 2.4.x InjectedRoutesGenerator来自Play 2.4.x

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Activator在Play Framework Test中传递系统属性 - Pass System Properties in Play Framework Test with Activator 带有Google App Engine的Activator Play Framework - Activator Play Framework with google app engine 播放框架websevice-通过base64时激活器启动问题 - Play framework websevice - activator start issue when passing the base64 播放框架错误:找不到:值消息 - Play framework error: not found: value message Play 框架:2.8.0 - 尝试运行 SBT 命令时出现 Class Not Found 异常 - Play framework: 2.8.0 - getting Class Not Found Exception when trying to run SBT command 在控制台中运行play框架时获取异常 - getting an exception when running play framework in console 运行作业时在Play Framework中更新行 - Update row in Play Framework when running a job 使用激活器启动播放服务器引发application.conf找不到错误 - Starting play server with activator throw an application.conf not found error Mac OS X Activator新播放框架错误 - Mac OS X Activator New Play Framework Error 我运行游戏框架的生产模式,如何保持其运行背景 - I run a production mode of play framework ,how to keep it running background
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM