不能 运行 JPad - NoClassDefFoundError javafx 场景父级
Cant run JPad - NoClassDefFoundError javafx scene parent
由于以下异常消息,我无法 运行 JPad (http://jpad.io)。
您建议使用哪个版本的 Java?
$> java -jar jpad.jar
Nov 05, 2016 3:22:39 PM com.timestored.docs.OpenDocumentsModel addDocument
INFO: addDocument: new 1
Nov 05, 2016 3:22:40 PM io.jpad.JPadLauncher launch
INFO: Starting JPadLauncher launch() ###################################
Nov 05, 2016 3:22:40 PM io.jpad.JPadFrame <init>
INFO: Starting JPadFrame Constructor
Nov 05, 2016 3:22:42 PM com.timestored.misc.ErrorReporter$UncaughtErrorReporter uncaughtException
WARNING: uncaught error
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
at io.jpad.JPadLauncher.main(JPadLauncher.java:81)
Caused by: java.lang.NoClassDefFoundError: javafx/scene/Parent
at io.jpad.JPadFrame.<init>(JPadFrame.java:177)
at io.jpad.JPadLauncher.launch(JPadLauncher.java:110)
at io.jpad.JPadLauncher.access0(JPadLauncher.java:31)
at io.jpad.JPadLauncher.run(JPadLauncher.java:83)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access0(EventQueue.java:97)
at java.awt.EventQueue.run(EventQueue.java:709)
at java.awt.EventQueue.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: javafx.scene.Parent
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more
(我正在播种这个问题,因为 jpad 的大多数新手海报没有 1500 个代表来创建标签)
JPad 依赖 javafx 来显示 HTML 结果。并非 JVM 上的所有版本,特别是 OpenJDK 都附带这些库。
我是 运行 Arch Linux 我注意到堆栈跟踪如何提到无法在 JFX 中找到方法 class 所以我想我会采取有机会看看我的回购协议中是否有 JFX 包,他们确实有。我安装了它并再次尝试,似乎成功了。
由于以下异常消息,我无法 运行 JPad (http://jpad.io)。 您建议使用哪个版本的 Java?
$> java -jar jpad.jar
Nov 05, 2016 3:22:39 PM com.timestored.docs.OpenDocumentsModel addDocument
INFO: addDocument: new 1
Nov 05, 2016 3:22:40 PM io.jpad.JPadLauncher launch
INFO: Starting JPadLauncher launch() ###################################
Nov 05, 2016 3:22:40 PM io.jpad.JPadFrame <init>
INFO: Starting JPadFrame Constructor
Nov 05, 2016 3:22:42 PM com.timestored.misc.ErrorReporter$UncaughtErrorReporter uncaughtException
WARNING: uncaught error
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
at io.jpad.JPadLauncher.main(JPadLauncher.java:81)
Caused by: java.lang.NoClassDefFoundError: javafx/scene/Parent
at io.jpad.JPadFrame.<init>(JPadFrame.java:177)
at io.jpad.JPadLauncher.launch(JPadLauncher.java:110)
at io.jpad.JPadLauncher.access0(JPadLauncher.java:31)
at io.jpad.JPadLauncher.run(JPadLauncher.java:83)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access0(EventQueue.java:97)
at java.awt.EventQueue.run(EventQueue.java:709)
at java.awt.EventQueue.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: javafx.scene.Parent
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more
(我正在播种这个问题,因为 jpad 的大多数新手海报没有 1500 个代表来创建标签)
JPad 依赖 javafx 来显示 HTML 结果。并非 JVM 上的所有版本,特别是 OpenJDK 都附带这些库。
我是 运行 Arch Linux 我注意到堆栈跟踪如何提到无法在 JFX 中找到方法 class 所以我想我会采取有机会看看我的回购协议中是否有 JFX 包,他们确实有。我安装了它并再次尝试,似乎成功了。