microsoft/vscode-java-dependency

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

Closed this issue · 6 comments

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.

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

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?

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

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

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

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.