redhat-developer / redhat-developer/vscode-java

Gradle compiles but vscode-java is getting compilation errors

Open
#797 22 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I've pushed related code on https://github.com/jeusdi/gradle-vscode.git

gradle compileJava runs correctly, but vscode-java is getting me compilation errors.

Environment
  • Operating System: Ubuntu 18.04
  • JDK version: JDK 11
  • Visual Studio Code version: 1.31.0
  • Java extension version: 0.38.0
Steps To Reproduce
  1. git clone https://github.com/jeusdi/gradle-vscode.git
  2. Open vscode

[attach a sample project reproducing the error]
attach logs

Current Result

imagen

Expected Result

gradle command ends succesfully:

imagen

Additional Informations

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

Clone the linked gradle-vscode sample and open it in Visual Studio Code, then compare the vscode-java errors with the successful gradle compileJava result. Start with the attached troubleshooting logs and environment details; done means the sample no longer shows compilation errors in vscode-java when the Gradle build succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
build-system, developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.