Skip to content

Java Project Build Stuck at "Synchronizing Projects" #3049

@rennsax

Description

@rennsax

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:

bedc422b Repository registry initialization [Done]
1b7a7d2b Importing Maven project(s) [Done]
331283e3 Synchronizing projects: 0% [0/1000]
f1113ce7 Synchronizing projects: 0% [0/1000]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions