-
Notifications
You must be signed in to change notification settings - Fork 78
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
java.lang.ClassNotFoundException: scala.meta.metals.Main #366
java.lang.ClassNotFoundException: scala.meta.metals.Main #366
Comments
Thanks for reporting! The issue might be coming from having the additional accent, though I hoped this was fixed recently. Especially that it seems to be running Java properly. I will try to reproduce it locally. Did you try reloading the window maybe? I've seen situation where the Main class of the server was not detected at first, however I have no idea why. |
Thanks for your blazing fast answer! Unfortunately, I have the error every time I open VSCode... I've never been able to make it work. Reloading the window or re-opening VSCode doesn't solve the issue. |
Ok, I can reproduce the issue on Windows. It doesn't seem to cope well with accents. |
…rn/types/node-16.11.6 Bump @types/node from 16.11.4 to 16.11.6
Hi guys, I am getting the same error on Metals 1.2, can you please elaborate on how to bypass it. I do not have accents in username on my system which is RHEL 7.9 running VScode 1.85.2 |
@vikas-saxena02 any luck with your problem? I'm having the same thing on Windows 10 with cyrillic username |
@divijan Metals does require a lot of dependencies available to it in order to start which need to come from either mavencentral or if you are in a an airgap system like me from your local package repository such as artificatory or Nexus.
|
Describe the bug
Metals server crashes when opening a Scala project.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Metals server starts properly.
Screenshots
Installation:
Additional context
Here is the content of the log file located in AppData/Roaming/Code/logs/xxx/exthost1/output_logging_xxx:
I installed Java 11 and specified the path in VSCode settings
metals.javaHome
.I also installed Scala using the .exe
Could the error be because I have an accent in my first name (which is also in the name of my home folder)?
Search terms
metals server crashed ClassNotFoundException main
The text was updated successfully, but these errors were encountered: