Standalone on linux can't start: java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS
See original GitHub issueJabRef version
5.5 (latest release)
Operating system
GNU / Linux
Details on version and operating system
Linux Mint 20.1 MATE
Checked with the latest development build
- I made a backup of my libraries before testing the latest development version.
- I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
- Download JabRef-5.6-portable_linux.tar.gz
- tar xvf JabRef-5.6-portable_linux.tar.gz
- cd JabRef/bin
- ./JabRef
Expected result: application launches.
Actual result: Uncaught exception stack trace, application does not launch.
Output:
Apr 06, 2022 1:57:27 PM com.sun.javafx.application.PlatformImpl startup WARNING: Unsupported JavaFX configuration: classes were loaded from ‘module org.jabref.merged.module’, isAutomatic: false, isOpen: true Exception in Application start method 2022-04-06 13:57:28 [main] org.jabref.gui.FallbackExceptionHandler.uncaughtException() ERROR: Uncaught exception occurred in Thread[main,5,main]: java.lang.RuntimeException: Exception in Application start method at org.jabref.merged.module@5.6.144/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source) at org.jabref.merged.module@5.6.144/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(Unknown Source) at java.base/java.security.SecureClassLoader.defineClass(Unknown Source) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(Unknown Source) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(Unknown Source) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Unknown Source) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:102) at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88) at java.prefs/java.util.prefs.XmlSupport.loadPrefsDoc(Unknown Source) at java.prefs/java.util.prefs.XmlSupport.importMap(Unknown Source) at java.prefs/java.util.prefs.FileSystemPreferences$6.run(Unknown Source) at java.prefs/java.util.prefs.FileSystemPreferences$6.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.prefs/java.util.prefs.FileSystemPreferences.loadCache(Unknown Source) at java.prefs/java.util.prefs.FileSystemPreferences.initCacheIfNecessary(Unknown Source) at java.prefs/java.util.prefs.FileSystemPreferences.getSpi(Unknown Source) at java.prefs/java.util.prefs.AbstractPreferences.get(Unknown Source) at org.jabref@5.6.144/org.jabref.preferences.JabRefPreferences.get(Unknown Source) at org.jabref@5.6.144/org.jabref.preferences.JabRefPreferences.updateLanguage(Unknown Source) at org.jabref@5.6.144/org.jabref.preferences.JabRefPreferences.getLanguage(Unknown Source) at org.jabref@5.6.144/org.jabref.preferences.JabRefPreferences.<init>(Unknown Source) at org.jabref@5.6.144/org.jabref.preferences.JabRefPreferences.getInstance(Unknown Source) at org.jabref@5.6.144/org.jabref.gui.JabRefMain.start(Unknown Source) at org.jabref.merged.module@5.6.144/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source) at org.jabref.merged.module@5.6.144/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source) at org.jabref.merged.module@5.6.144/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at org.jabref.merged.module@5.6.144/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source) at org.jabref.merged.module@5.6.144/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) at org.jabref.merged.module@5.6.144/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at org.jabref.merged.module@5.6.144/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source) … 1 more Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) … 35 more
Appendix
…
Log File
Paste an excerpt of your log file here
Issue Analytics
- State:
- Created a year ago
- Comments:10 (10 by maintainers)
Top GitHub Comments
Also check out this thread: https://discourse.jabref.org/t/jabref-5-1-linux-portable/2293
Thank you for the follow-up!