Skip to content

Adding wrong jar version to the classpath #566

Description

@dampcake

The correct version of the JAR shows up Java Dependencies Pane but when executed a different version is added to the -cp arguments.

Environment
  • Operating System: OSX
  • JDK version: 1.8.0_201
  • Visual Studio Code version: 1.33.1
  • Java extension version: 0.42.1
  • Java Debugger extension version: 0.17.0
Steps To Reproduce

Sample: https://github.com/dampcake/incubator-druid/tree/fix-eclipse
run mvn install -Pdist -DskipTests to generate dependencies.

Language Server Returning the wrong JAR

Config for project can be found in gist. Either way jetty-util should be 9.4.10 as shown in the dependency view.

Current Result

Wrong JAR dependency version is added to the classpath.

Expected Result

Correct JAR dependency version is added to the classpath.

Additional Informations

This project runs correctly in eclipse so I am not sure where the error is as the dependency view shows the correct JAR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions