-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metals hangs out "Starting Metals server..." a long time #6762
Comments
I wonder if this is an issue with JDK being located on a different drive 🤔 Though we should get some kind of error still. Is the java process actually started? Did anything got written to |
It should output it both to the output tab in vs code and to Are you able to coursier to fetch metals, if you don't have it locally I see that it has been downloaded for you in You could do |
The good news is that it doesn't seem to be hanging on downloading. Could you try to get some information about the Java process being run maybe? To get the pid: |
Och, this looks like maybe the issue is here dirs-dev/directories-jvm#55 We might need to work around that 🤔 |
+1 for the same issue on roughly the same pc specs. tried deleting every .bloop and .metals i could find, and updating whenever there are updates, and nothing helps for roughly the same time period as this issue is open. unable to work on my scala project, luckily i have other non-scala projects to do, but imagine this happening to someone who doesnt have this kind of luxury. would be great if i could temp fix it by downgrading, but downgrading the extension doesnt help and i dont know where to downgrade everything else... |
Describe the bug
I built Scala with metals on vscode. I used it well the other day. Yesterday, I don't know if it suddenly stopped working because I uninstalled some useless software. The plug-in appears to have stopped at some stage without any error message other than "Starting" Metals servers "hangs here. My computer is correctly configured with JDK17. JAVA_HOME is also correctly added to the environment variable. I tried reloading the vscode and metals plugins, but it didn't work.
To Reproduce
Steps to reproduce the behavior:
1.Open a Scala project
2. Metals hongs out "Starting Metals server..." a long time
Screenshots
Metals output:
Extension Host output:
Installation:
Windows 11
JDK 17
v1.92.2
v1.39.0
The text was updated successfully, but these errors were encountered: