You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked out a Maven Project with multiple modules (main POM.xml and nested project with POM.xml files) and was able to open the project and compile it correctly using Eclipse.
However, if I check out the same project in another folder and open the project in vscode I will get an error while building the project while it is still loading. I even tried opening the same project folder that was built successfully in Eclipse, but I get the same error in vs code.
In the vscode status bar, I see the message "Error occurred in initializing language server". Then if I click on the thumbs-own icon, I see two log files which are attached below:
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
@bpasero
Going through the extension bisect is a long story. I think it's Java related, I created a ticket here: redhat-developer/vscode-java#2806. Please let me know your thoughts on this.
Well, I used the Extensions Bisect command, and changed my mind, then, the project loaded successfully. I reloaded the project using the Java Clean command, and got the problem again. Then I used the Bisect command again, and the project loaded relatively quickly and without any problem. Any comment on why is this happening?
@bpasero
today, I opened my laptop by resuming it from sleep mode. All applications were closed and started vs code, and the project loaded successfully without any problems. It took about 3-4 minutes to load, but it was successful. Also, the project is compiling successfully only after I set the PATH and JAVA_HOME to point to JDK 1.8.
I still don't know if the problem is solved and am not sure how it is solved. I'll keep monitoring it and provide updates when needed. It seems when I started the Extensions Bisect and stopped it and seems this step did give a kick to make it work.
Please let me know if you have any feedback.
Note: the setting "java.import.generatesMetadataFilesAtProjectRoot": true is still active, and using the pre-release of Language Support for Java (TM) by Red Hat.
Type: Bug
I checked out a Maven Project with multiple modules (main POM.xml and nested project with POM.xml files) and was able to open the project and compile it correctly using Eclipse.
However, if I check out the same project in another folder and open the project in vscode I will get an error while building the project while it is still loading. I even tried opening the same project folder that was built successfully in Eclipse, but I get the same error in vs code.
In the vscode status bar, I see the message "Error occurred in initializing language server". Then if I click on the thumbs-own icon, I see two log files which are attached below:
.log
client.log
VS Code version: Code 1.73.1 (6261075, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode:enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (37)
A/B Experiments
The text was updated successfully, but these errors were encountered: