小编Jos*_*man的帖子

如何解决scala中的导入冲突?

我使用"console-project"命令从sbt启动了这个shell.

scala> settings
<console>:24: error: reference to settings is ambiguous;
it is imported twice in the same scope by
import Keys._
and import settings
       settings
       ^
Run Code Online (Sandbox Code Playgroud)

如何让shell显示设置对象,而不是Keys.settings?

scala sbt

5
推荐指数
1
解决办法
4311
查看次数

标签 统计

sbt ×1

scala ×1