Thanks for the prompt reply, Thomas!

I tried v. 1.5b4 as you suggested and it seems to be working fine.

Thanks again!

-- john

Thomas E Deweese wrote:

"JC" == John C Cartwright <[EMAIL PROTECTED]> writes:

JC> I'm trying to get started using Batik1.1 and am building a servlet
JC> that rasterizes a SVG string into a PNG image.

I would suggest using Batik 1.5b4 not Batik 1.1.

JC> The servlet compiles fine, but when I try to hit it I get an
JC> exception complaining that:

JC> java.lang.NoClassDefFoundError: org/w3c/css/sac/DocumentHandler

JC> I see in the FAQ that the w3c.jar file is required, but I didn't
JC> see it in the Batik1.1 distribution. I tried unsuccessfully using
JC> one from the velocity1.2 distro.

JC> Is the lack of this jar file really my problem? If so, where can I
JC> find a batik-compatible version of it? If not, what else should I
JC> look for?

All the jars needed are included in the distribution. In the 1.5b4
release we had the w3c files in lib/batik-ext.jar (ext stands for
external). In current CVS we moved all the w3c stuff to
lib/xml-apis.jar.

You also need to be careful that you don't get incompatible
versions of some of the API's before the Batik versions.

JC> My environment is RH7.2, Tomcat4.1.2, JDK1.4



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
=====================================================
John Cartwright
Associate Scientist
Geospatial Data Services Group
CIRES, National Geophysical Data Center/NOAA
(303) 497-6284
[EMAIL PROTECTED]
=====================================================




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to