konradrenner / kolabnotes-fx

Java app for syncing and editing notes in Kolab v3 storage format
GNU General Public License v3.0
0 stars 0 forks source link

does not start on linux openjdk8 + openjfx8 #2

Open zxalexis opened 3 years ago

zxalexis commented 3 years ago

java -jar /home/zx/.kolabnotes-fx/kolabnotes-fx.jar Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:873) Caused by: java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NoClassDefFoundError: javax/persistence/Persistence at org.kore.kolab.notes.fx.persistence.PersistenceManager.(PersistenceManager.java:28) at org.kore.kolab.notes.fx.domain.account.AccountRepository.(AccountRepository.java:34) at org.kore.kolab.notes.fx.KolabnotesFx.start(KolabnotesFx.java:41) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$null$10(GtkApplication.java:245) ... 1 more Caused by: java.lang.ClassNotFoundException: javax.persistence.Persistence at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 12 more Exception running application org.kore.kolab.notes.fx.KolabnotesFx

konradrenner commented 3 years ago

Hi, thx for reporting. Which java version are you using?

zxalexis commented 3 years ago

Hi, thx for reporting. Which java version are you using?

8.u292-1 archlinux extra repo x64

konradrenner commented 3 years ago

OK, thx. I will try to reproduce