Cadplan JumpPrinter: Error message

30 views
Skip to first unread message

Arnd Kielhorn

unread,
May 3, 2012, 2:59:52 AM5/3/12
to openjum...@googlegroups.com
Hello,

ich just used the nightly snapshot (20120502 rev. 2848) and copied the latest JumpPrinter and Vertex plugin together with itext plugin (v. 2.1.5) and starting.
OJ is hanging and throws this error message:


java.lang.NoClassDefFoundError: org/apache/batik/svggen/SVGGraphics2D
at com.cadplan.jump.PrinterExtension.configure(PrinterExtension.java:39)
at com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:98)
at com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:92)
at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:384)
at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:344)
Caused by: java.lang.ClassNotFoundException: org.apache.batik.svggen.SVGGraphics2D
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 5 more


An idea?

Kindly regards
Arnd
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

Arnd Kielhorn

unread,
May 3, 2012, 3:08:38 AM5/3/12
to openjum...@googlegroups.com
Sorry,

I forgot:

OpenJDK 7 (JDK)
Ubuntu 12.04 (32bit)
> -- You received this message because you are subscribed to the Google
> Groups openjump-users group. To post to this group, send email to
> openjum...@googlegroups.com. To unsubscribe from this group, send email to
> openjump-user...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/openjump-users?hl=en

Michaël Michaud

unread,
May 3, 2012, 3:21:44 AM5/3/12
to openjum...@googlegroups.com
Hi Arnd

You must add batik jar(s) from the PLUS version, this is a dependency of
printer plugin
which has been removed from oj-CORE (must be placed in lib directory).

Micha�l

Le 03/05/2012 09:08, Arnd Kielhorn a �crit :

Arnd Kielhorn

unread,
May 3, 2012, 3:40:49 AM5/3/12
to openjum...@googlegroups.com
Hi Michaël,

thanks a lot, that works now!

Arnd


> Hi Arnd
>
> You must add batik jar(s) from the PLUS version, this is a dependency of
> printer plugin
> which has been removed from oj-CORE (must be placed in lib directory).
>
> Michaël

edgar....@web.de

unread,
May 3, 2012, 4:24:02 AM5/3/12
to openjum...@googlegroups.com
On 03.05.2012 08:59, Arnd Kielhorn wrote:
> Hello,
>
> ich just used the nightly snapshot (20120502 rev. 2848) and copied the latest JumpPrinter and Vertex plugin together with itext plugin (v. 2.1.5) and starting.
> OJ is hanging and throws this error message:
>
>
> java.lang.NoClassDefFoundError: org/apache/batik/svggen/SVGGraphics2D
> at com.cadplan.jump.PrinterExtension.configure(PrinterExtension.java:39)
> at com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:98)
> at com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:92)
> at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:384)
> at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:344)
> Caused by: java.lang.ClassNotFoundException: org.apache.batik.svggen.SVGGraphics2D
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> ... 5 more
>
>
> An idea?
>

in cases like the "NoClassDefFoundError" in CORE and a plugin that also exists in PLUS it helps to have a look in readme.txt which lists extensions in PLUS and their dependencies (files in lib/ext/).

@Geoff: you should probably update the documentation to reflect the missing batik in CORE.

..ede
Reply all
Reply to author
Forward
0 new messages