@3ED_0 The source URL currently does not work and gives a HTTP 404 error (not found).
Currently it needs to be changed to the https://
protocol in order to work.
Git Clone URL: | https://aur.archlinux.org/libreoffice-extension-languagetool.git (read-only, click to copy) |
---|---|
Package Base: | libreoffice-extension-languagetool |
Description: | An Open Source style and grammar checker (more than 30 languages) |
Upstream URL: | https://languagetool.org |
Keywords: | grammar languagetool |
Licenses: | LGPL |
Groups: | libreoffice-extensions |
Submitter: | 3ED_0 |
Maintainer: | HurricanePootis |
Last Packager: | darkelectron |
Votes: | 308 |
Popularity: | 0.50 |
First Submitted: | 2011-08-05 14:41 (UTC) |
Last Updated: | 2024-05-23 21:47 (UTC) |
@3ED_0 The source URL currently does not work and gives a HTTP 404 error (not found).
Currently it needs to be changed to the https://
protocol in order to work.
Should works. Works for me, 4.0 with oracle java.
I've been getting the following error message:
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at net.loomchild.segment.srx.io.Srx2SaxParser.<init>(Srx2SaxParser.java:173) at org.languagetool.tokenizers.SrxTools.createSrxDocument(SrxTools.java:51) at org.languagetool.tokenizers.SRXSentenceTokenizer.<init>(SRXSentenceTokenizer.java:53) at org.languagetool.tokenizers.SimpleSentenceTokenizer.<init>(SimpleSentenceTokenizer.java:37) at org.languagetool.Language.<clinit>(Language.java:60) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:292) at org.languagetool.Languages.createLanguageObjects(Languages.java:110) at org.languagetool.Languages.getAllLanguages(Languages.java:96) at org.languagetool.Languages.<clinit>(Languages.java:38) at org.languagetool.openoffice.Main.getLocales(Main.java:552)</clinit></clinit></init></init></init>
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 11 more
java.lang.NoClassDefFoundError: Could not initialize class org.languagetool.Languages at org.languagetool.openoffice.Main.getLocales(Main.java:552)
This is related to java 9 and languagetool and on their Github page they mention:
When using Java 9, start LanguageTool using java --add-modules java.xml.bind -jar languagetool.jar. Without that parameter, you'd get an java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException error.
https://github.com/languagetool-org/languagetool/tree/master/languagetool-standalone
Is there a way to have this fix, somehow, when libreoffice calls languagetool?
Pinned Comments
HurricanePootis commented on 2025-04-15 02:37 (UTC)
Please use libreoffice-extension-writingtool for writing on libreoffice. LanguageTool no longer supports LibreOffice directly.
lisu_ml commented on 2016-10-06 20:36 (UTC) (edited on 2016-10-06 20:38 (UTC) by lisu_ml)
lisu_ml commented on 2016-10-06 20:02 (UTC)
ronjouch commented on 2015-12-30 14:01 (UTC) (edited on 2015-12-30 14:04 (UTC) by ronjouch)