redhat-developer / redhat-developer/vscode-java

Stuck in Importing

Ouverte
#4,308 8 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
TypeScript
Étoiles
2.3k
Forks
546
Merge moyen
20 h 1 min
PR mergées (30 j)
11

Description

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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par examiner le commentaire lié de vscode-java-test et les symptômes signalés sous Windows 11 : « activating task providers java », l’absence de la commande « Java: Clean Java Language Server Workspace » et l’importation du projet bloquée. Reproduisez l’échec et examinez les informations sur l’extension hôte et la fenêtre affichées dans les captures d’écran ; le travail est considéré comme terminé lorsque la cause est identifiée et que le comportement d’importation et d’exécution des projets Java est rétabli.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java, vscode
Domaine
developer-experience, tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.