codepro
codepro

Reputation: 313

sbt [error] No valid parser available

I am running:

java -version java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

sbt 0.13.13.

on Windows 10.

When I follow the tutorial to do a println("hello"), I get the error:

[error] No valid parser available.

Do you guys have any idea why that might be and how to resolve?

Thank you very much in advance!

Upvotes: 1

Views: 1952

Answers (1)

Justin Kaeser
Justin Kaeser

Reputation: 5948

You entered into the sbt shell, which is used to give commands for a project build.

It sounds like you want a Scala console. You can start it by:

sbt console

Upvotes: 8

Related Questions