Sbt helloworld示例构建不起作用

时间:2017-08-04 05:40:10

标签: scala sbt

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
[info] Loading project definition from /home/murali/.sbt
[info] Set current project to default-e8cc6f (in build file:/home/murali/)
[error] Not a valid command: new (similar: set)
[error] Not a valid project ID: new
[error] Not a valid configuration: new
[error] Not a valid key: new (similar: name, run, runner)
[error] new
[error]    ^

当我尝试使用scala helloworld文档建议的以下命令构建scala项目时,我收到了上述错误。

sbt new sbt/scala-seed.g8

1 个答案:

答案 0 :(得分:0)

尝试使用此命令:

sbt -sbt-version 0.13.15 new sbt/scala-seed.g8