Intellij: Not a valid project ID:

三世轮回 提交于 2020-02-24 03:57:15

问题


I updated Intellij Idea to 2018.2.6

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.


回答1:


I could solve the problem:

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



回答2:


In my case, the reimporting of sbt project fixed the issue. This can be done by clicking on the "sbt" tab on the right pane, right-click on the project and selecting "Reimport sbt Project".



来源:https://stackoverflow.com/questions/53333246/intellij-not-a-valid-project-id

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!