Thanks for your prompt answer. No, I definitely have the lib/batik-css.jar file, and it is in the class path. Also, the message is inconsistent. Just now I ran it and it occurred at this line:
svgcanvas = new JSVGCanvas() ; the message was: java.lang.NoSuchMethodError: org.w3c.dom.css.CSSValue: method getCssValueType()S not found Any more suggestions? Thanks ----- Original Message ----- From: "Thomas E Deweese" <[EMAIL PROTECTED]> To: "Batik Users" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 5:16 PM Subject: RE: JSVGCanvas / SVGDocument errors > >>>>> "JS" == Jane Singer <[EMAIL PROTECTED]> writes: > > JS> I am getting a some "NoSuchMethodError" messages at, or nearly > JS> after, the point in the code where I add an SVGDocument to and > JS> JSVGCanvas: > > JS> svgcanvas.setSVGDocument(svgdoc); > > JS> I know this usually has to do with problems with the class path, > JS> but it is strange that other classes from within the same jar > JS> files work fine. > > Go with your first instincts :) > > Looking at the attached stack trace the no-such method error is > _in_ the convertVisibility method it is not the convertVisibility it's > self. Since the convertVisibility method is mostly calling things in > the css engine I suspect you are missing the lib/batik-css.jar file... > > Of course doing a debug build would probably help a lot here... > > JS> I'm working with JBuilder. > > JS> Can someone help me? > > JS> Jane > > > JS> java.lang.NoSuchMethodError at > JS> org.apache.batik.bridge.CSSUtilities.convertVisibility(Unknown > JS> Source) at > JS> org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(Unknown > JS> Source) at org.apache.batik.bridge.GVTBuilder.build(Unknown > JS> Source) at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown > JS> Source) java.lang.NoSuchMethodError at > JS> org.apache.batik.bridge.CSSUtilities.convertVisibility(Unknown > JS> Source) at > JS> org.apache.batik.bridge.SVGSVGElementBridge.createGraphicsNode(Unknown > JS> Source) at org.apache.batik.bridge.GVTBuilder.build(Unknown > JS> Source) at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown > JS> Source) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
