Describe the bug
Quite often, when I use a Maven project, the LSP hangs on "Setting classpath containers":
65408615 LookupJDKToolchainsJob [Done]
6dd03634 Setting classpath containers - 59% Refreshing '/hello-world'.
Then I have to run Java: Clean Language Server Workspace to fix the LSP.
To Reproduce
The issue is not always reproducible. When I manage to reproduce it I will attach the log files.
Expected behavior
The LSP should never hang.
Environment
- Operating System: NixOS 26.05
- JDK version: OpenJDK 25.0.4
- Visual Studio Code version: 1.124.2
- Java extension version: 1.55.0
Describe the bug
Quite often, when I use a Maven project, the LSP hangs on "Setting classpath containers":
Then I have to run
Java: Clean Language Server Workspaceto fix the LSP.To Reproduce
The issue is not always reproducible. When I manage to reproduce it I will attach the log files.
Expected behavior
The LSP should never hang.
Environment