I've recently updated IntelliJ to version 2018.2, and since the update, I keep getting this error when trying to start my Java Play SBT project:
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] ^
I cannot find out why. I didn't change anything in my build.sbt
or plugins.sbt
files.
Probably your project structure was changed after update. Check your project modules. In my case root
module was renamed to project-id
. Renaming back that module to root
(this was specified in my run configuration) solved the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With