Hello,
just downloaded this Example project for making a REST API in Play using the Scala API, opened it with IntelliJ IDEA 2018.3.1 (Ultimate), and cannot run it.
Build works fine, but running ends with
[error] Not a valid project ID: play-scala-rest-api-example
[error] project play-scala-rest-api-example
[error] ^
[INFO] [12/10/2018 18:50:06.978] [Thread-3] [CoordinatedShutdown(akka://sbt-web)] Starting coordinated shutdown from JVM shutdown hook
In Build configuration, I can select
- play-scala-rest-api-example
- play-scala-rest-api-example.gatling
- play-scala-rest-api-example.main
- play-scala-rest-api-example.test
as Play2 Module. I assume the first or .main is correct, but no matter which I choose, the above error still occurs.
I’m relatively new to Scala and Play which is why I wanted to start with an example. Does anybody know what I am missing? How to run this example?