我最近将IntelliJ更新为版本2018.2,并且自更新以来,在尝试启动Java Play SBT项目时一直出现此错误:
BUILD_NUMBER not defined, setting version:
sbt.SettingKey$$anon$4@2ad8aeb5
[info] Loading settings from build.sbt ...
BUILD_NUMBER not defined, setting version: sbt.SettingKey$$anon$4@2ad8aeb5
[info] Set current project to [PROJECT_NAME] (in build file:/Users/username/Documents/Repos/[PROJECT_NAME]/)
[error] Not a valid project ID: [PROJECT_NAME]
[error] project [PROJECT_NAME]
[error] ^
我找不到原因。我没有更改build.sbt
或plugins.sbt
文件中的任何内容。