redhat-developer / redhat-developer/vscode-java

Stuck in Importing

オープン
#4,308 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。