Warm tip: This article is reproduced from stackoverflow.com, please click
intellij-idea playframework sbt scala

Intellij: Not a valid project ID:

发布于 2020-04-13 10:34:39

I updated Intellij Idea to 2018.2.6 enter image description here

Now I can not start my Play-Project with a Play-Configuration - it gives me this:

[error] Not a valid project ID: myProject
[error] project myProject
[error] ^

I tried all of these proposals:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000530510-SBT-Shell-Error-Not-a-valid-key-idea-shell?flash_digest=650678ba2e9ae36479f2c3e0ab460379a393d2ce

A plain SBT configuration works.

Questioner
pme
Viewed
36
pme 2018-11-16 22:32

I could solve the problem:

  • Close Project in Intellij.
  • Delete .idea folder of the Project.
  • Open the Project again.