Java swing GUI不显示并给出异常错误

时间:2018-09-06 10:54:17

标签: error-handling main

线程“ main”中的异常java.awt.AWTError:找不到辅助技术:org.GNOME.Accessibility.AtkWrapper         在java.desktop / java.awt.Toolkit.newAWTError(Toolkit.java:472)         在java.desktop / java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)         在java.base / java.util.stream.ForEachOps $ ForEachOp $ OfRef.accept(ForEachOps.java:183)         在java.base / java.util.stream.ReferencePipeline $ 2 $ 1.accept(ReferencePipeline.java:177)         在java.base / java.util.HashMap $ KeySpliterator.forEachRemaining(HashMap.java:1608)         在java.base / java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)         在java.base / java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)         在java.base / java.util.stream.ForEachOps $ ForEachOp.evaluateSequential(ForEachOps.java:150)         在java.base / java.util.stream.ForEachOps $ ForEachOp $ OfRef.evaluateSequential(ForEachOps.java:173)         在java.base / java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)         在java.base / java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)         在java.desktop / java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)         在java.desktop / java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)         在java.desktop / java.awt.Window.getToolkit(Window.java:1375)         在java.desktop / java.awt.Window.init(Window.java:518)         在java.desktop / java.awt.Window(Window.java:549)         在java.desktop / java.awt.Frame(Frame.java:423)         在java.desktop / javax.swing.JFrame(JFrame.java:224)         在vstm.main(vstm.java:12) 引起原因:java.lang.ClassNotFoundException:org.GNOME.Accessibility.AtkWrapper         在java.base / jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)         在java.base / jdk.internal.loader.ClassLoaders $ AppClassLoader.loadClass(ClassLoaders.java:190)         在java.base / java.lang.ClassLoader.loadClass(ClassLoader.java:499)         在java.base / java.lang.Class.forName0(本地方法)         在java.base / java.lang.Class.forName(Class.java:374)         在java.desktop / java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)         ...还有17个

0 个答案:

没有答案