microsoft / vscode-java-dependency

Manage Java projects in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency
MIT License
140 stars 68 forks source link

Package lombok does not exist(compiler.err.doesnt.exist) #837

Closed JinghuaOriental closed 3 weeks ago

JinghuaOriental commented 1 month ago

It shows the jar package I imported doesn't exist, maybe the way I import is not correct? I import the external jar package by "JAVA PROJECTS" -> "Referenced Libraries" -> "+" to add my jar package path. Then it appears in the Referenced Libraries.

See the jar package "lombok" as follow. image image

The background is I use vscode ssh in Windows to connect remote ubuntu server. And it doesn't show this problem when I develop on local. Although this problem appear, I debug the code it can normally run. While I directly run the code it shows the problems mentioned earlier.

jdneo commented 1 month ago

Have you installed other Java related extension? Looks like the error is not reported by us.

JinghuaOriental commented 1 month ago

Have you installed other Java related extension? Looks like the error is not reported by us.

image I have installed the "Extension Pack for Java" in the remote server, do I need install other Java related extensions?

jdneo commented 1 month ago

I believe this is reported by the second extension Java, which is published by Oracle.

cypher256 commented 1 month ago

@JinghuaOriental Try disabling or uninstalling the following extension Java Language Support George Fraser

JinghuaOriental commented 1 month ago

Sorry, now I meet the new problem... So I have to fix the problem of adding jar package first.

JinghuaOriental commented 3 weeks ago

Now I have replace the jar package with another version, then it works. It's so painful, I still don't know why. Anyway, thanks for all of you.