Stale “Build Failed” state after successful Maven build and Run
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
Research direction
Start by reproducing the issue with the minimal Maven Java project described, then trace the VS Code Java tooling path that records and displays build status after mvn clean package, mvn test, and Run. Done means a successful rebuild or Run clears the previous “Build Failed” state without requiring project configuration refresh.
Written by the indexing model from the issue text.
Description
Environment:
- macOS arm64
- VS Code Java extension
- JDK 25.0.2
- Maven 3.9.1
A minimal Maven Java project continued showing a “Build Failed” state in the VS Code Java tooling even after the project was healthy.
Observed:
- mvn clean package: BUILD SUCCESS
- mvn test: BUILD SUCCESS
- VS Code Run launched com.mycompany.app.App successfully
- VS Code diagnostics reported no errors
- Refreshing the Java project configuration cleared the stale state
Expected:
The Java build status should update after a successful rebuild or successful Run.
Actual:
The previous failure remained visible until Java project configuration was refreshed.
Workaround:
Run “Java: Update Project Configuration” or reload the Java tooling.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 547
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from redhat-developer/vscode-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
redhat-developer/vscode-java#4426 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
redhat-developer/vscode-java#4506 · 3 comments · 4 reactions ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
redhat-developer/vscode-java#4505 · 2 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
redhat-developer/vscode-java#4504 · 3 comments · 1 reaction ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 38/100
redhat-developer/vscode-java#4500 · 3 comments ·
All issues in redhat-developer/vscode-java
Similar issues
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
supermomonga/zcode-acp#24 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
growthbook/growthbook#7100 ·
-
triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100