* [ISSUE] LanguageTool does not start with TeXstudio
@ 2023-02-21 13:59 zoof
0 siblings, 0 replies; only message in thread
From: zoof @ 2023-02-21 13:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2910 bytes --]
New issue by zoof on void-packages repository
https://github.com/void-linux/void-packages/issues/42372
Description:
### Is this a new report?
Yes
### System Info
Void 6.1.12_1 x86_64 GenuineIntel notuptodate rFF
### Package(s) Affected
LanguageTool-5.8_1, texstudio-4.4.1_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
Opening TeXstudio, configure "LT Path" to `/usr/share/java/languagetool/languagetool-server.jar`. Clicking Help -> Check LanguageTool is expected to show that LanguageTool is configured correctly:
```
which java: /usr/bin/java
JAVA: java
openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+7-void-r3)
OpenJDK 64-Bit Server VM (build 11.0.12+7-void-r3, mixed mode)
Real-time checking is enabled.
Grammar checking is enabled.
Tries to start automatically.
LT current status: working
LT-URL: http://localhost:8081/v2/check
```
### Actual behaviour
Instead:
```
which java: /usr/bin/java
JAVA: java
openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+7-void-r3)
OpenJDK 64-Bit Server VM (build 11.0.12+7-void-r3, mixed mode)
Real-time checking is enabled.
Grammar checking is enabled.
Tries to start automatically.
LT current status: error
LT-URL: http://localhost:8081/v2/check
```
Executing the jar command to start LanguageTool shows:
```
$ languagetool --http -p 8081 INT
2023-02-21 13:52:51 +0000 Setting up thread pool with 10 threads
WARN: no common words file defined for Japanese - this language might not be correctly auto-detected
WARN: no common words file defined for Khmer - this language might not be correctly auto-detected
2023-02-21 13:52:54 +0000 Starting LanguageTool 5.8 (build date: 2022-07-02 14:50:13 +0000, 82e790a) server on http://localhost:8081...
2023-02-21 13:52:54 +0000 Server started
^C% ~ > java -jar /usr/share/java/languagetool/languagetool-server.jar INT 38s
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.languagetool.server.Server.<clinit>(Server.java:40)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 1 more
```
On the other hand, running the Void packaged LanguageTool binary from the command line (`languagetool --http -p 8081`) does work.
### Steps to reproduce
1. Start TeXstudio
2. Add path to languagetool-server.jar to configuration.
3. Check LanguageTool from TeXstudio
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-21 13:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 13:59 [ISSUE] LanguageTool does not start with TeXstudio zoof
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).