LDAP / LSP-ltex-ls

Convenience package for the LTeX Language Server (Spell/Grammar check for LaTex and Markdown)
Mozilla Public License 2.0
5 stars 0 forks source link

Error: Could not find or load main class LtexLanguageServerLauncher #8

Closed gour closed 3 years ago

gour commented 3 years ago

Hello,

I've decided to settle on ST4 for all my writings (and web-related coding), so this package is very important for my workflow!

However I've encountered the following error:

Error: Could not find or load main class LtexLanguageServerLauncher
Caused by: java.lang.ClassNotFoundException: LtexLanguageServerLauncher

ltex-ls.log

I admit I'm still not very familiar with ST(4) in general, but wonder what could be wrong with my installation?

LDAP commented 3 years ago

Which java version are you currently using?

kozyakin commented 3 years ago

The same with me on MacOS (BigSur). On Windows 10 all works OK!

On both systems (MacOS and Windows 10) I have Microsoft Build of OpenJDK, v.17 On both systems there are no problems with running ltex-ls from within VSCode

LDAP commented 3 years ago

Seems that there is a issue with Java 17 on Unix-based OSes. I am currently working on a fix :)

LDAP commented 3 years ago

Please recheck with version 3.0.0.

kozyakin commented 3 years ago

Unfortunately, I don't know how to install a package which is not listed in Package Control. Will wait

LDAP commented 3 years ago

The upgraded package should be already available through Package Control. You can upgrade by pressing Ctrl+Shift+P and "Package Control: Upgrade Package".

kozyakin commented 3 years ago

OK! At last, I managed to install this version. Now, all is working as a charm!

LDAP commented 3 years ago

Closed with #9.