迁移游戏!从scala 2.10到2.11的应用程序

时间:2014-11-09 00:55:08

标签: scala playframework

我决定从play 2.2.0和scala 2.10.2转到2.3.6和scala 2.11.4。 如果我更新了play(某些依赖项的版本,比如sbt-plugin和play-java-jdbc),一切正常。但是当我将scala版本设置为2.11.4时,会出现以下错误:

[error] /Users/user/my-play-project/conf/routes: routes is already defined as object routes
[error] /Users/user/my-play-project/conf/routes: routes is already defined as class routes
[error] two errors found
[error] (compile:compile) Compilation failed
[error] Total time: 9 s, completed 09.11.2014 4:52:44

所以,可能有人知道,发生了什么? 我尝试清理并手动删除所有目标目录,但它没有帮助。

0 个答案:

没有答案