From b43facec5f6cbea380578aa02d20d9e52e79d4b8 Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Fri, 12 Dec 2025 11:26:04 -0800 Subject: [PATCH 1/4] Document sbt build issues with IDEs Added troubleshooting tips for using sbt with IDEs. --- developer-tools.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/developer-tools.md b/developer-tools.md index 633be7473e3..85bfa2091c2 100644 --- a/developer-tools.md +++ b/developer-tools.md @@ -494,6 +494,27 @@ in the Eclipse install directory. Increase the following setting as needed: 256M ``` +

IDE with sbt

+ +When you use IDEs like VSCode or Cursor, you need to 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 cache. Potential locations are + +``` +**/target/** +~/.m2 +~/.ivy2/ +``` +

Nightly builds

From 42f084746ae4fdced0faf3b9fa84f93e7b9f7739 Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Fri, 12 Dec 2025 11:38:47 -0800 Subject: [PATCH 2/4] Clarify sbt usage in IDEs section --- developer-tools.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer-tools.md b/developer-tools.md index 85bfa2091c2..9aa42d614aa 100644 --- a/developer-tools.md +++ b/developer-tools.md @@ -496,8 +496,8 @@ in the Eclipse install directory. Increase the following setting as needed:

IDE with sbt

-When you use IDEs like VSCode or Cursor, you need to build from terminal with `sbt`. -A common issue you'll encounter is something like +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 From af8a5adc6b2da2cd95ffeb69fdaa8150d9598674 Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Mon, 15 Dec 2025 10:41:12 -0800 Subject: [PATCH 3/4] Revise cache clearing instructions in developer-tools.md Updated instructions for clearing cache and artifacts. --- developer-tools.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/developer-tools.md b/developer-tools.md index 9aa42d614aa..bce821d8c64 100644 --- a/developer-tools.md +++ b/developer-tools.md @@ -507,10 +507,9 @@ This is because multiple instances are trying to build the project simultaneousl 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 cache. Potential locations are +clear all the artifacts with `sbt clean`. You'll also need to clear cache in ``` -**/target/** ~/.m2 ~/.ivy2/ ``` From 3966da3753ecfa90c94d6ba3a06d97a1aa04824c Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Wed, 17 Dec 2025 10:36:33 -0800 Subject: [PATCH 4/4] Update HTML file --- site/developer-tools.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/site/developer-tools.html b/site/developer-tools.html index 9d6b200296e..4886f3c57b2 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