redhat-developer / redhat-developer/vscode-java

Stuck in Importing

未关闭
#4,308 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

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

描述

Hi, I was trying to make JUnit work so I made co-pilot do a few things but I couldn't follow it as it had done a lot of things. Now neither my program nor VS Code works (at least while trying to run my program).

Stuck in "activating task providers java"
Image

Java: Clean Java Language Server Workspace does not work (command not found)
Image

When I click "run Java", this thing on bottom right appears but nothing happens (waited 3+ minutes, my program used to run in less than 5 seconds after pressing run)
Image

Nothing of significance in "Problems"
Image

This guy at the bottom is probably related to the main cause of the issue but disabling it and restarting VSCode etc does not change anything. The same issues still persist. (Command not found, activating task providers java, run importing projects etc all the same). I disabled it for now.
Image

Extension Host
Image

Window
Image

Not sure if relevant, but Java: Configure Java Runtime leads here although I am in a file as you can see on the left (but I'm not sure what this is so this information is probably irrelevant and makes me look stupid as it is also incorrect lol)
Image

I have been trying to find a solution both with internet searches and AI suggestions for a few hours now but couldn't find a solution. Please help! I wish I just did not try to "force" the optional part of my homework; I was done with it and now it doesn't work and I need to show it to my prof in a few hours :D

I'm using Windows 11, this additional info may help link here

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先查看链接的 vscode-java-test 评论以及报告的 Windows 11 症状:“activating task providers java”、缺少“Java: Clean Java Language Server Workspace”命令,以及项目导入停滞。重现该故障,并检查屏幕截图中显示的 extension host 和窗口信息;完成的标准是确定原因,并恢复 Java 项目的导入和运行行为。

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

评估

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

把新 issue 发到你的邮箱

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