xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Malaterre <ma...@debian.org>
Subject Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
Date Fri, 07 Oct 2016 07:05:05 GMT
Hi,

I am about to make a new package for batik in Debian. Looking at the
bug tracker I see the following old issue, where:

$ java -jar /usr/share/java/batik.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
org/w3c/dom/svg/SVGDocument
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethod(Class.java:2128)
at java.awt.Component.isCoalesceEventsOverriden(Component.java:6218)
at java.awt.Component.access$500(Component.java:186)
at java.awt.Component$3.run(Component.java:6172)
at java.awt.Component$3.run(Component.java:6170)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Component.checkCoalescing(Component.java:6169)
at java.awt.Component.<init>(Component.java:6138)
at java.awt.Container.<init>(Container.java:283)
at java.awt.Window.<init>(Window.java:535)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:189)
at org.apache.batik.apps.svgbrowser.JSVGViewerFrame.<init>(Unknown Source)
at org.apache.batik.apps.svgbrowser.Main.<init>(Unknown Source)
at org.apache.batik.apps.svgbrowser.Main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.w3c.dom.svg.SVGDocument
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


However when I look at the source code, I fail to see where
SVGDocument could be coming from:

$ ls sources/org/w3c/dom/
ElementTraversal.java  events  Location.java  Window.java

What am I missing ?

Thanks,

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message