Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] svg in udig

andrea antonello ha scritto:
Hi Jody, I remember you talking about some dependency problems from apache.

In the RC3 when loading an a shape with svg point symbolizer I get:

java.lang.NoClassDefFoundError: org/apache/batik/util/XMLResourceDescriptor
	at org.geotools.renderer.style.SVGGraphicFactory.getIcon(SVGGraphicFactory.java:94)
	at org.geotools.renderer.style.SLDStyleFactory.getIcon(SLDStyleFactory.java:1096)
	at org.geotools.renderer.style.SLDStyleFactory.getImage(SLDStyleFactory.java:1054)
	at org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:525)
	at org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:442)
	at org.geotools.renderer.style.SLDStyleFactory.createStyleInternal(SLDStyleFactory.java:325)
	at org.geotools.renderer.style.SLDStyleFactory.createStyle(SLDStyleFactory.java:286)
	at net.refractions.udig.ui.Drawing.paint(Drawing.java:325)

Btw, that class is in apache-batik-util-1.7.jar (so if you don't have that jar around or the package is not exported, you won't be able to u
use it... ;-) )

Cheers
Andrea



--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.


Back to the top