Creating a New Application doesn't work

Hello,
I followed the steps to create a new New Application. After being surprised by some user input requests, which are not mentioned in the documentation, all steps in sbt new playframework/play-scala-seed.g8 complete successfully.

However sbt run fails to start.

[warn] No sbt.version set in project/build.properties, base directory: /Users/robertpiro/Projects/Dev/metric-clock
[info] Loading settings for project global-plugins from idea.sbt ...
[info] Loading global plugins from /Users/robertpiro/.sbt/1.0/plugins
[info] Set current project to metric-clock (in build file:/Users/robertpiro/Projects/Dev/metric-clock/)
[error] java.lang.RuntimeException: No main class detected.
[error] at scala.sys.package$.error(package.scala:30)
[error] stack trace is suppressed; run last Compile / bgRun for the full output
[error] (Compile / bgRun) No main class detected.
[error] Total time: 1 s, completed 16 Nov 2019, 20:53:47
1 Like