You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by xq...@apache.org on 2025/02/13 20:56:54 UTC
(beam) 01/01: Update code-change-guide.md
This is an automated email from the ASF dual-hosted git repository.
xqhu pushed a commit to branch liferoad-patch-1
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 848697547645f0fdedef5f4ddcf2b4c1f88a2ef6
Author: liferoad <hu...@gmail.com>
AuthorDate: Thu Feb 13 15:56:45 2025 -0500
Update code-change-guide.md
---
contributor-docs/code-change-guide.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/contributor-docs/code-change-guide.md b/contributor-docs/code-change-guide.md
index 5d344aa89a4..0087c691b5d 100644
--- a/contributor-docs/code-change-guide.md
+++ b/contributor-docs/code-change-guide.md
@@ -629,7 +629,10 @@ Tips for using the Dataflow runner:
### Common Issues
-* If you run into some strange errors such as `java.lang.NoClassDefFoundError`, run `./gradlew clean` first
+* If you run into some strange errors such as `java.lang.NoClassDefFoundError` or errors related to proto changes, try these:
+ * run `./gradlew clean`
+ * remove the gradle cache, e.g., `rm -fr ~/.gradle`
+ * remove the `build` directory at the repo root
* To run one single Java test with gradle, use `--tests` to filter, for example, `./gradlew :it:google-cloud-platform:WordCountIntegrationTest --tests "org.apache.beam.it.gcp.WordCountIT.testWordCountDataflow"`
### Directories of snapshot builds