-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java Project Build Stuck at "Synchronizing Projects" #3049
Comments
@Eitheages Could you attach a project example reproducing the error? |
Recently when I use pre-release version to develop eclipse.jdt.ls in VS Code, I also noticed that reloading window takes longer in "Synchronizing projects" than it did before. Previously I suspected it's related with maven parallel downloading (#3030 (comment)). However, it seems this issue persists in stable version 1.16.0, which doesn't include parallel downloading feature. There should be some other reasons causing this problem. |
Sorry for that I just cannot reproduce this problem these days. In fact, this problem truly exists for each of my Maven project. Maybe the new release has resolve the bug. I'll provide more information once the problem occurs again. Thanks very much! |
Could it be caused by the STS extension? spring-projects/sts4#1012 (comment) |
Have this issue again when working on eclipse.jdt.ls with java 1.17.0 installed, no STS extension installed.
Here is the thread dump. |
Closed since cannot be reproduced. |
Environment:
VS Code Version: 1.77.1
Extension Version: 1.16.0
JDK Type & Version: 11, homebrew
OS Type & Version: Mac
Step to Reproduce: reload VS Code window, sometimes.
Expected Behavior: build the project successfully, not taking too much time.
Actual Behavior: I always find myself stuck in the Synchronizing projects step, which takes a long long time.
Here is an example output of Java Build Status:
This status can hold on for more than 5 minutes sometimes, during which I cannot modify my code since the code checking and suggestions are just wrong.
Generally, after refreshing the window, the problem still exits. But magically, sometimes my VS Code can build the project immediately!
I'm not sure what synchronizing projects is doing actually. But if this step is unnecessary, I think it would be better if I can skip the step optionally by editing my configurations.
Related Issues: Not sure
The text was updated successfully, but these errors were encountered: