4

The red hat java vscode extension randomly started giving me this warning The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files on all my files, I've tried to find out how to fix this but I can't find anything about this problem on vscode. I've only found a solution for this problem for eclipse (here), could anyone tell me what the equivalent of that would be for vscode, or any other way to fix this warning.

  • 2
    Sounds for a perfectly reasonable question to ask on [their github issue tracker](https://github.com/redhat-developer/vscode-java/issues). Maybe it is the same problem as described in [this issue](https://github.com/redhat-developer/vscode-java/issues/1595). – Turing85 Apr 16 '22 at 18:11

1 Answers1

6

Just ran Java: Clean Java Language Server Workspace and it fixed everything