玩不编译项目

时间:2014-01-27 07:29:29

标签: playframework-2.0 sbt

我成功创建了我的游戏项目,但当我使用播放时显示异常

[info] Loading project definition from H:\MyPlay\project
H:\MyPlay\build.sbt:8: error: ')' expected but eof found.
cache
   ^
[error] Error parsing expression.  Ensure that there are no blank lines within a
setting.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[error] Not a valid command: run
[error] run
[error]    ^

请提前帮助我

1 个答案:

答案 0 :(得分:2)

您可能正在build.sbt文件中使用任何空格或新行

libraryDependencies ++= Seq(
 jdbc,
 anorm,
  cache


 )

更改它
libraryDependencies ++= Seq(
 jdbc,
 anorm,
  cache  
  )     

这应该可以解决你的问题