xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hardy <vha...@eng.sun.com>
Subject Re: Incompatible Class Change Error
Date Thu, 01 Feb 2001 21:50:37 GMT
Mariano,

If you got everything from CVS, you should also have gotten a build.xml
file and associated build.bat and build.sh. Try to use build (.sh or
.bat, depending on your platform) and you will get a help message
on how to start the various applications. This will also set up the 
classpath properly, which is the problem you probably run into.

Good luck.
V.

Mariano Kamp wrote:
> 
> Hi there,
> 
>   I got the current version of Batik via CVS a couple of hours ago and so
> I am very new to Batik. I am currently encountering the following error:
> 
>         java.lang.IncompatibleClassChangeError: class
>         org.apache.batik.dom.svg.SVGOMSVGElement does not implement interface
>         org.w3c.dom.css.ViewCSS
> 
> 
>   This happens when calling transcode from svg to jpeg.
> 
>   Any clue what I am doing wrong? I compiled the sources and jared the
> classes and resources in one jar file.
> 
>   Everything else seems to work ok.
> 
> Any help will be appreciated.
> Mariano
> 
> For more detailed information I included the stacktrace.
> 2001-02-01 08:25:15 - Ctx( /ifire ): Exception in: R( /ifire + /svgg + null) - java.lang.IncompatibleClassChangeError:
class org.apache.batik.dom.svg.SVGOMSVGElement does not implement interface org.w3c.dom.css.ViewCSS
>         at org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVGElementBridge.java:47)
>         at org.apache.batik.bridge.ConcreteGVTBuilder.build(ConcreteGVTBuilder.java:85)
>         at org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:172)
>         at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:122)
>         at com.codamax.ifire.SVGGenerator.service(SVGGenerator.java:102)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>         at org.apache.tomcat.core.Handler.service(Handler.java:286)
>         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
>         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>         at java.lang.Thread.run(Thread.java:498)
> 
>  --
> mariano kamp
> codamax ag
> hessenring 89
> 
> 61348 bad homburg v.d.h.
> germany
> 
> phone  +49 6172 182 473
> fax    +49 6172 182 475
> mobile +49 177 727 9468
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org

Mime
View raw message