diff --git a/developer-tools.md b/developer-tools.md index 633be7473e..bce821d8c6 100644 --- a/developer-tools.md +++ b/developer-tools.md @@ -494,6 +494,26 @@ in the Eclipse install directory. Increase the following setting as needed: 256M ``` +

IDE with sbt

+ +When you use IDEs like VSCode or Cursor and you build from terminal with `sbt`, +a common issue you'll encounter is something like + +``` +java.lang.RuntimeException: Failed to find name hashes for +``` + +This is because multiple instances are trying to build the project simultaneously. Normally +the culprit is your Java/Scala plugin in your IDEs. + +In order to fix this, first you need to disable auto-build of your plugins. Then you need to +clear all the artifacts with `sbt clean`. You'll also need to clear cache in + +``` +~/.m2 +~/.ivy2/ +``` +

Nightly builds

diff --git a/site/developer-tools.html b/site/developer-tools.html index 9d6b200296..4886f3c57b 100644 --- a/site/developer-tools.html +++ b/site/developer-tools.html @@ -628,6 +628,24 @@

Eclipse

256M +

IDE with sbt

+ +

When you use IDEs like VSCode or Cursor and you build from terminal with sbt, +a common issue you’ll encounter is something like

+ +
java.lang.RuntimeException: Failed to find name hashes for
+
+ +

This is because multiple instances are trying to build the project simultaneously. Normally +the culprit is your Java/Scala plugin in your IDEs.

+ +

In order to fix this, first you need to disable auto-build of your plugins. Then you need to +clear all the artifacts with sbt clean. You’ll also need to clear cache in

+ +
~/.m2
+~/.ivy2/
+
+

Nightly builds