redhat-developer / redhat-developer/vscode-java

When opening Java Project, the Java Build Status is spinning forever.

未关闭
#2,623 29 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

extension-start
主要语言
TypeScript
星标
2.3k
派生
546
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

[provide a description of the issue]

Environment
  • Operating System: Windows 10
  • JDK version: JavaSE-1.8 (for the project) and JavaSE-11 for vs code
  • Visual Studio Code version: 1.70.0
  • Java extension version: Extension Pack for Java v0.25.0
Steps To Reproduce
  1. Open Java Project
  2. The Java Build Status indicator on the status bar is spinning forever.
  3. The status bar Java Build status shows an
    info popup as "Building - Lightweight mode".
    vscode java build status spinning

[Please attach a sample project reproducing the error]
I don't have a sample project now. Will try to make a simple one to verify.

Please attach logs
vscode-java logs: vscode-app-1660164678368.log
Another log: vscode-app-1660165168557.log
Java Language Server's workspace logs: .log

Current Result

Java build status is spinning and the project is not loaded

Expected Result

The project was opening and compiling correctly just last week. I think the recent update broke something.

Additional Informations

The project was opening and compiling correctly just last week. I think the recent update broke something.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先查看附带的 vscode-java 日志和 Java Language Server 工作区日志,然后在 Windows 10 上使用 JavaSE-1.8 作为项目的 Java 版本、JavaSE-11 作为 VS Code 的 Java 版本以及报告中的扩展版本进行复现。完成的标准是 Java Build Status 不再无限旋转,并且项目能够正确加载和编译。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
developer-experience, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。