redhat-developer / redhat-developer/vscode-java

Building Java project shows error: "Build failed, do you want to continue?"

Open
#495 62 comments 42 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug compile
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Building Java project shows error: "Build failed, do you want to continue?" when the build is actually completed because when I click "Proceed" it will run updated version of my code and autobuild enabled when I type new code.
javatest.zip

Environment
  • Operating System: Windows 10 Pro (1709)
  • JDK version: 9.0.4
  • Visual Studio Code version: 1.21.1
  • Java extension version: 0.22.0
Steps To Reproduce
  1. Open attached java project in Visual Studio Code with Java Extensions Pack installed
  2. Start debugging by F5

javatest.zip

.log

Current Result

Build error

Expected Result

No error

Additional Informations

I have another project built with this extension and it builds without any error.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the F5 workflow in the attached Java project on the stated Windows, JDK, VS Code, and extension versions, then inspect default.log and compare the build notification with the successful updated run after selecting Proceed. Done means the project builds and starts debugging without reporting a build failure when the build has completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.