redhat-developer / redhat-developer/vscode-java

module not accessible

Open
#941 6 comments 4 reactions 1 assignee View on GitHub

@snjeza is already working on this.

Since May 27, 2019.

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

Description

When building a modular project with gradle the imported libraries are shown as inaccessible. But the project itself seems fine. Using
.\gradlew run runs the project without error
and
.\gradlew jlink builds an image without error

This seems to be the case with any gradle dependency. Not just javafx.

Environment
  • Operating System: Windows 10 1809
  • JDK version: openjdk 12.0.1
  • Visual Studio Code version: 1.34.0
  • Java extension version: 0.45.0
Current Result

javafx components are shown as inaccessible

Expected Result

javafx components are not shown as inaccessible

Screenshot

javafx error

Sample Project

https://github.com/openjfx/samples/tree/master/CommandLine/Modular/Gradle

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.